Personal NixOS flake

feat(hyprpanel): notif/dnd binds, add some widgets

+9 -4
+2 -2
desktop.nix
··· 100 100 layout = { 101 101 "bar.layouts" = { 102 102 "0" = { 103 - left = [ "dashboard" "workspaces" ]; 103 + left = [ "dashboard" "workspaces" "media"]; 104 104 middle = [ "windowtitle" ]; 105 105 right = [ "systray" "network" "weather" "volume" "clock" "notifications"]; 106 106 }; 107 107 "1" = { 108 108 left = ["workspaces"]; 109 109 middle = ["windowtitle"]; 110 - right = []; 110 + right = ["clock"]; 111 111 }; 112 112 }; 113 113 };
+7 -2
home/emily/gui/hyprland/binds.nix
··· 1 1 { ... } : 2 2 { 3 3 wayland.windowManager.hyprland.settings = { 4 - bind = [ 4 + bind = 5 + let 6 + toggleDND = "hyprpanel toggleDnd"; 7 + toggleNotifs = "hyprpanel toggleWindow notificationsmenu"; 8 + in [ 5 9 "$mainMod, E, exec, uwsm app -- $terminal" 6 10 "$mainMod, Q, killactive," 7 11 "$mainMod ALT Control_L, backspace, exec, uwsm stop" ··· 18 22 "$mainMod, F, fullscreenstate, 1" 19 23 20 24 21 - "$mainMod, N, exec, hyprpanel toggleWindow notificationsmenu" # Toggle notifications 25 + "$mainMod, N, exec, ${toggleNotifs}" # Toggle notifications 22 26 # "$mainMod SHIFT, N, exec, uwsm app -- swaync-client -d" # Toggle DND 27 + "$mainMod SHIFT, N, exec, ${toggleDND}" # Toggle DND 23 28 24 29 25 30 "$mainMod Control_L SHIFT, L, exec, uwsm app -- hyprlock" # Lock screen