mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
bindings: retool some desktop keybinds
This commit is contained in:
parent
c164b0ece8
commit
a2a9e20ba8
1 changed files with 39 additions and 13 deletions
|
@ -68,24 +68,41 @@
|
||||||
"$mod, 9, workspace, 9"
|
"$mod, 9, workspace, 9"
|
||||||
"$mod, 0, workspace, 10"
|
"$mod, 0, workspace, 10"
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
"$mod+Shift, 1, movetoworkspace, 1"
|
||||||
|
"$mod+Shift, 2, movetoworkspace, 2"
|
||||||
|
"$mod+Shift, 3, movetoworkspace, 3"
|
||||||
|
"$mod+Shift, 4, movetoworkspace, 4"
|
||||||
|
"$mod+Shift, 5, movetoworkspace, 5"
|
||||||
|
"$mod+Shift, 6, movetoworkspace, 6"
|
||||||
|
"$mod+Shift, 7, movetoworkspace, 7"
|
||||||
|
"$mod+Shift, 8, movetoworkspace, 8"
|
||||||
|
"$mod+Shift, 9, movetoworkspace, 9"
|
||||||
|
"$mod+Shift, 0, movetoworkspace, 10"
|
||||||
|
|
||||||
|
# move to the first empty workspace instantly
|
||||||
|
"$mod+Ctrl, $Down, workspace, empty"
|
||||||
|
"$mod+Ctrl, $Up, movetoworkspace, empty"
|
||||||
|
|
||||||
|
# Special workspace
|
||||||
"$mod, S, togglespecialworkspace"
|
"$mod, S, togglespecialworkspace"
|
||||||
|
"$mod+Alt, S, movetoworkspacesilent, special"
|
||||||
|
|
||||||
# Move windows around
|
# Move windows around
|
||||||
"$mod+Shift+Ctrl, $Left, movewindow, l"
|
"$mod+Shift, $Left, movewindow, l"
|
||||||
"$mod+Shift+Ctrl, $Right, movewindow, r"
|
"$mod+Shift, $Right, movewindow, r"
|
||||||
"$mod+Shift+Ctrl, $Up, movewindow, u"
|
"$mod+Shift, $Up, movewindow, u"
|
||||||
"$mod+Shift+Ctrl, $Down, movewindow, d"
|
"$mod+Shift, $Down, movewindow, d"
|
||||||
|
|
||||||
"$mod+Ctrl+Alt, $Right, movetoworkspace, r+1"
|
"$mod+Ctrl+Shift, $Right, movetoworkspace, r+1"
|
||||||
"$mod+Ctrl+Alt, $Left, movetoworkspace, r-1"
|
"$mod+Ctrl+Shift, $Left, movetoworkspace, r-1"
|
||||||
|
|
||||||
"$mod+Ctrl, $Right, workspace, r+1"
|
"$mod+Ctrl, $Right, workspace, r+1"
|
||||||
"$mod+Ctrl, $Left, workspace, r-1"
|
"$mod+Ctrl, $Left, workspace, r-1"
|
||||||
|
|
||||||
"$mod+Alt, S, movetoworkspacesilent, special"
|
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
"$mod, Space, exec, pkill -x rofi || rofi -show drun" # Run rofi
|
"$mod, Space, exec, pkill -x rofi || rofi -show drun" # Run rofi application launcher
|
||||||
|
"$mod, G, exec, pkill -x rofi || rofi -show window" # Run rofi window switcher
|
||||||
|
|
||||||
''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot
|
''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot
|
||||||
|
|
||||||
|
@ -94,10 +111,6 @@
|
||||||
"$mod, I, exec, hyprlock"
|
"$mod, I, exec, hyprlock"
|
||||||
|
|
||||||
# System control
|
# System control
|
||||||
",XF86MonBrightnessDown, exec, brightnessctl set 5%-"
|
|
||||||
",XF86MonBrightnessUp, exec, brightnessctl set 5%+"
|
|
||||||
",XF86AudioRaiseVolume, exec, pamixer -i 5"
|
|
||||||
",XF86AudioLowerVolume, exec, pamixer -d 5"
|
|
||||||
",XF86AudioMute, exec, pamixer -t"
|
",XF86AudioMute, exec, pamixer -t"
|
||||||
];
|
];
|
||||||
bindm = [
|
bindm = [
|
||||||
|
@ -106,6 +119,19 @@
|
||||||
"$mod, Z, movewindow"
|
"$mod, Z, movewindow"
|
||||||
"$mod, X, resizewindow"
|
"$mod, X, resizewindow"
|
||||||
];
|
];
|
||||||
|
bindel = [
|
||||||
|
",XF86MonBrightnessDown, exec, brightnessctl set 5%-"
|
||||||
|
",XF86MonBrightnessUp, exec, brightnessctl set 5%+"
|
||||||
|
",XF86AudioRaiseVolume, exec, pamixer -i 5"
|
||||||
|
",XF86AudioLowerVolume, exec, pamixer -d 5"
|
||||||
|
];
|
||||||
|
binde = [
|
||||||
|
# Resize windows
|
||||||
|
"$mod+Alt, $Right, resizeactive, 30 0"
|
||||||
|
"$mod+Alt, $Left, resizeactive, -30 0"
|
||||||
|
"$mod+Alt, $Up, resizeactive, 0 -30"
|
||||||
|
"$mod+Alt, $Down, resizeactive, 0 30"
|
||||||
|
];
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
"opacity 0.90 0.90,class:^(librewolf)$"
|
"opacity 0.90 0.90,class:^(librewolf)$"
|
||||||
"opacity 0.90 0.90,class:^(Brave-browser)$"
|
"opacity 0.90 0.90,class:^(Brave-browser)$"
|
||||||
|
|
Loading…
Reference in a new issue