commit 731ccb0f747d41cf0d46327eebfd30acf80ea213
parent 288ae442ee08e74b24344f4ffcb17666a15ebc8d
Author: Milutin Popovic <milutin@popovic.xyz>
Date: Fri, 27 Mar 2026 20:55:22 +0000
bump
Diffstat:
3 files changed, 36 insertions(+), 11 deletions(-)
diff --git a/modules/niri.nix b/modules/niri.nix
@@ -21,6 +21,9 @@
window-rules = [
{
+ open-maximized = true;
+ }
+ {
matches = [ { app-id = "spotify"; } ];
open-on-workspace = "9";
}
@@ -28,6 +31,10 @@
matches = [ { app-id = "Alacritty"; } ];
opacity = 0.9;
}
+ {
+ matches = [ { app-id = "Firefox"; } ];
+ open-on-workspace = "9";
+ }
];
binds = {
"Mod+Return".action.spawn = "${terminalCmd}";
@@ -91,6 +98,7 @@
"Mod+Shift+8".action.move-window-to-workspace = "8";
"Mod+Shift+9".action.move-window-to-workspace = "9";
+ "Mod+F1".action.spawn-sh = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
"Mod+F2".action.spawn-sh = "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-";
"Mod+F3".action.spawn-sh = "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+";
"Mod+F4".action.spawn-sh = "sudo xbacklight -dec 1";
@@ -117,6 +125,8 @@
);
};
layout = {
+ always-center-single-column = true;
+ default-column-width.proportion = 0.4;
border = {
enable = true;
width = 4;
@@ -155,8 +165,20 @@
{ command = [ "noctalia-shell" ]; }
{ command = [ "background" ]; }
{ command = [ "mako" ]; }
- #{ command = [ "niri-monitors" ]; }
+ { command = [ "niri-monitors" ]; }
{ command = [ "nextcloud --background" ]; }
+ {
+ command = [
+ ''
+ swayidle -w \
+ timeout 300 'swaylock -f -c 000000' \
+ timeout 600 'swaymsg "output * power off"' \
+ resume 'swaymsg "output * power on"' \
+ timeout 900 'systemctl suspend-then-hibernate' \
+ before-sleep 'swaylock -f -c 000000'
+ ''
+ ];
+ }
];
outputs = {
diff --git a/modules/noctalia.nix b/modules/noctalia.nix
@@ -45,12 +45,13 @@
center = [
{
hideMode = "hidden";
- maxWidth = 145;
+ maxWidth = 500;
scrollingMode = "hover";
showIcon = false;
textColor = "none";
useFixedWidth = false;
id = "ActiveWindow";
+ fontWeight = "bold";
}
];
left = [
@@ -61,19 +62,18 @@
enableScrollWheel = true;
focusedColor = "primary";
followFocusedScreen = false;
- fontWeight = "bold";
groupedBorderOpacity = 1;
hideUnoccupied = false;
- iconScale = 0.8;
labelMode = "index";
occupiedColor = "none";
- pillSize = 0.67;
+ pillSize = 0.75;
showApplications = false;
showApplicationsHover = false;
showBadge = true;
showLabelsOnlyWhenOccupied = true;
unfocusedIconsOpacity = 1;
id = "Workspace";
+ fontWeight = "bold";
}
];
right = [
@@ -82,6 +82,7 @@
iconColor = "none";
id = "Bluetooth";
textColor = "none";
+ fontWeight = "bold";
}
{
displayMode = "onhover";
@@ -89,12 +90,14 @@
id = "Volume";
middleClickCommand = "pwvucontrol || pavucontrol";
textColor = "none";
+ fontWeight = "bold";
}
{
displayMode = "onhover";
iconColor = "none";
id = "Network";
textColor = "none";
+ fontWeight = "bold";
}
{
compactMode = false;
@@ -114,18 +117,17 @@
showNetworkStats = false;
showSwapUsage = false;
textColor = "none";
- useMonospaceFont = true;
usePadding = false;
id = "SystemMonitor";
+ fontWeight = "bold";
}
{
clockColor = "none";
- customFont = "";
formatHorizontal = "HH:mm:ss";
formatVertical = "HH mm - dd MM";
id = "Clock";
tooltipFormat = "HH:mm ddd, MMM dd";
- useCustomFont = false;
+ fontWeight = "bold";
}
];
};
@@ -178,9 +180,9 @@
];
};
ui = {
- fontDefault = "Terminess Nerd Font";
- fontDefaultScale = 1.2;
- fontFixed = "Terminess Nerd Font";
+ fontScale = 1.2;
+ fontDefault = "Terminus";
+ fontFixed = "Terminus";
};
wallpaper = {
enabled = false;
diff --git a/modules/packages.nix b/modules/packages.nix
@@ -65,6 +65,7 @@ with pkgs;
wl-clipboard
grim
mako
+ swayidle
];
cli = [