refactor(hypr): improve keybinds for window management and application launching

This commit is contained in:
sankalp committed 2025-10-10 21:24:39 +05:45
1 parent e25ccd34c7
commit 3e79c36487
3 files changed
+72 -78

No files matched your search

+19 -17
View File
@@ -1,4 +1,5 @@
# See https://wiki.hyprland.org/Configuring/Keywords/ for more settings and variables
# See also Laptops.conf for laptops keybinds
@@ -12,28 +13,29 @@ $filemanager = thunar
$telegram = materialgram
$browser = zen-browser
# bindi = Super, Super_L, global, caelestia:launcher
# Testing
bind = Alt, f12, exec, notify-send 'Test notification' "Here's a really long message to test truncation and wrapping\nYou can middle click or flick this notification to dismiss it!" -a 'terminal' -A "Test1=I got it!" -A "Test2=Another action"
bind = Alt, Equal, exec, notify-send 'hmm' ${SLURP_ARGS}
bind = Alt, f12, exec, notify-send 'Test notification' "Here's a really long message to test truncation and wrapping\nYou can middle click or flick this notification to dismiss it!" -a 'terminal' -A "Test1=I got it!" -A "Test2=Another action"
bind = Alt, Equal, exec, notify-send 'hmm' ${SLURP_ARGS}
bind = $mainMod, space, exec, uwsm app -- fabric-cli exec modus1 "launcher.toggle()"
bind = $mainMod, R, exec, uwsm app -- fabric-cli exec fabrika-shell "launcher.toggle()"
bind = $mainMod, Space, exec, fabric-cli execute modus "launcher.show_launcher()"
bind = Alt, Tab, exec, fabric-cli execute modus "switcher.show_switcher()"
# Applications
bind = ALT SHIFT,Return, exec, $terminal --title Kitty --single-instance
bind = $mainMod, Return, exec, $terminal
bind = ALT, E, exec, $filemanager
bind = $mainMod, B, exec, $browser
bind = ALT, T, exec, $telegram
bind = $mainMod, S, exec, fabric-cli execute modus "launcher.show_launcher('sc ss', external=True)"
# bind = ALT SHIFT,Return, exec, uwsm app -- $terminal --title Kitty --single-instance
bind = $mainMod, Return, exec, uwsm app -- $terminal
bind = ALT SHIFT,Return, exec, [float] uwsm app -- $terminal -1
bind = ALT, E, exec, uwsm app -- $filemanager
bind = $mainMod, B, exec, uwsm app -- $browser
bind = ALT, T, exec, uwsm app -- $telegram
bind = $mainMod SHIFT, S, exec, hyprshot -z -m region --clipboard-only
bind = $mainMod, S, exec, fabric-cli execute modus "launcher.show_launcher('sc ss', external=True)"
# Actions
bind = $mainMod, F3, exec, $scriptsDir/kb_changer
bind = $mainMod CTRL, L, exec, pidof hyprlock || hyprlock -q
bind = $mainMod CTRL, P, exec, systemctl poweroff
bind = $mainMod CTRL, R, exec, systemctl reboot
bind = $mainMod, X, exec,grimblast copy active
bind = $mainMod, F3, exec, $scriptsDir/kb_changer
bind = $mainMod CTRL, L, exec, pidof hyprlock || hyprlock -q
bind = $mainMod CTRL, P, exec, systemctl poweroff
bind = $mainMod CTRL, R, exec, systemctl reboot
bind = $mainMod, X, exec, hyprshot -m region
# Send window to special workspace
bind = ALT, Q, movetoworkspacesilent, special