1

Further refactor hyprland keybindings + integrate with rofi

This commit is contained in:
2023-05-25 20:25:26 +02:00
parent f479f9a925
commit 7f21b51143
6 changed files with 52 additions and 90 deletions

View File

@ -3,6 +3,7 @@
source = ~/.config/hypr/autostart.conf
source = ~/.config/hypr/floatingrules.conf
source = ~/.config/hypr/input.conf
source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/polkit.conf
source = ~/.config/hypr/translucentrules.conf
@ -70,44 +71,13 @@ gestures {
workspace_swipe = off
}
$mainMod = SUPER
# bind = $mainMod, M, exit
# bind = $mainMod, P, pseudo # dwindle
# bind = $mainMod, J, togglesplit # dwindle
# General stuff
bind = $mainMod, Q, killactive
bind = $mainMod, V, togglefloating
bind = $mainMod, F, fullscreen
bind = $mainMod, C, exec, clipman pick --tool=rofi # TODO: Theme + Generate this in a include file from nixos, depending on the menu option
# Rofi
bind = $mainMod, A, exec, rofi -show drun
# bind = $mainMod, R, exec, rofi -show run
# bind = $mainMod, B, exec, rofi -show filebrowser
# TODO: Rofi
bind = $mainMod, D, exec, ~/NixFlake/config/rofi/menus/systemd-podman.fish
bind = $mainMod, escape, exec, rofi-menu-power
bind = $mainMod, O, exec, ~/NixFlake/config/rofi/menus/lectures.fish
bind = $mainMod, M, exec, ~/NixFlake/config/rofi/menus/keybinds.fish
bind = $mainMod, U, exec, ~/NixFlake/config/rofi/menus/vpn.fish
# Launch apps
bind = $mainMod, T, exec, kitty
bind = $mainMod, E, exec, kitty fish -c "nnncd -a -P p"
bind = $mainMod, P, exec, hyprpicker -a
bind = $mainMod, S, exec, grim -g "$(slurp)"
bind = $mainMod CTRL, S, exec, grim -g "$(slurp)" - | wl-copy
# Move windows in/out of groups
bind = $mainMod, G, togglegroup
bind = ALT, tab, changegroupactive
# bind = $mainMod, N, changegroupactive
# bind = $mainMod CTRL, h, moveintogroup, l
# bind = $mainMod CTRL, l, moveintogroup, r
# bind = $mainMod CTRL, k, moveintogroup, u
# bind = $mainMod CTRL, j, moveintogroup, d
# bind = $mainMod CTRL, G, moveoutofgroup
# TODO: These should probably be generated depending on the NixOS workspace config?
# Move focus with mainMod + arrow keys
bind = $mainMod, h, movefocus, l