chore: Update hyprland configuration with keybindings for dolphin, firefox, and codium

This commit is contained in:
2024-08-15 13:49:30 -03:00
parent 6cd77d1e54
commit eb440bde5c

View File

@@ -12,9 +12,11 @@
systemd.enable = true; systemd.enable = true;
settings = { settings = {
"$mod" = "SUPER"; "$mainMod" = "SUPER";
"$terminal" = "kitty"; "$terminal" = "kitty";
"$launcher" = "rofi"; "$fileManager" = "dolphin";
"$browser" = "firefox";
"$editor" = "codium";
exec-once = [ exec-once = [
# run once on startup # run once on startup
@@ -22,10 +24,28 @@
]; ];
bind = [ bind = [
",$mod, exec, $launcher" # Launch Bindings
"$mod, q, quit" "$mainMod, T, exec, $terminal"
"$mod, r, restart" "$mainMod, B, exec, $browser"
"$mod, Enter, exec, $terminal" "$mainMod, C, exec, $editor"
"$mainMod, Q, killactive,"
"$mainMod, M, exit,"
"$mainMod, F, exec, $fileManager"
"$mainMod, W, togglefloating,"
# Volume and Media Controls
", XF86AudioRaiseVolume, exec, pamixer -i 5"
", XF86AudioLowerVolume, exec, pamixer -d 5"
", XF86AudioMicMute, exec, pamixer --default-source -m"
", XF86AudioMute, exec, pamixer -t"
", XF86AudioPlay, exec, playerctl play-pause"
", XF86AudioPause, exec, playerctl play-pause"
", XF86AudioNext, exec, playerctl next"
", XF86AudioPrev, exec, playerctl previous"
# Brightness
", XF86MonBrightnessUp, exec, brightnessctl s +5%"
", XF86MonBrightnessDown, exec, brightnessctl s 5%-"
]; ];
bindm = [ bindm = [
@@ -34,6 +54,11 @@
"$mod, mouse:273, resizewindow" "$mod, mouse:273, resizewindow"
"$mod ALT, mouse:272, resizewindow" "$mod ALT, mouse:272, resizewindow"
]; ];
gestures = {
"workspace_swipe" = true;
"workspace_swipe_fingers" = 3;
};
}; };
}; };
programs.ags = { programs.ags = {