Added Waybar and Wallpaper Daemon

This commit is contained in:
zuma 2025-02-09 22:05:34 +01:00
parent 62ff6069b9
commit 0b271bc907
5 changed files with 270 additions and 36 deletions

View file

@ -2,7 +2,6 @@
wayland.windowManager.hyprland = {
enable = true;
settings = {
"$mod" = "SUPER"; # Windows key on classic keyboards
@ -22,6 +21,8 @@
"$mod, code:65, exec, rofi -show run"
"$mod, V, toggleFloating"
# Move to workspace
"$mod, code:10, workspace, 1"
"$mod, code:11, workspace, 2"
@ -47,11 +48,19 @@
# Move to adjacent workspaces
"$mod, code:113, workspace, -1"
"$mod, code:114, workspace, +1"
# Function keys
", code:121, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
", code:122, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
", code:123, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+"
", code:198, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
", code:232, exec, brightnessctl s 5%-"
", code:233, exec, brightnessctl s 5%+"
];
bindm = [
"$mod, mouse:272, moveWindow"
"$mod, mouse:273, moveWindow"
"$mod, mouse:272, moveactive"
"$mod, mouse:273, resizeactive"
];
cursor = {
@ -122,6 +131,13 @@
gestures = {
workspace_swipe = "on";
};
exec-once = [
# Set Hyprland cursor the same as GTK apps
"hyprctl setcursor \"Bibata-Modern-Classic\" 24"
"swww-daemon"
"waybar"
];
};
};
}