1
1
Fork 0

hyprland: modify binds

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-09 10:05:55 -06:00
parent a2fe4a6a84
commit 38ec17c8f1
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -135,28 +135,29 @@ in {
(key "mouse:274" "Super+Shift" "layoutmsg" "addmaster") (key "mouse:274" "Super+Shift" "layoutmsg" "addmaster")
(key "mouse:274" "Super+Ctrl+Shift" "layoutmsg" "removemaster") (key "mouse:274" "Super+Ctrl+Shift" "layoutmsg" "removemaster")
(key "Backslash" "Super" "layoutmsg" "orientationcycle center left") (key "Backslash" "Super" "splitratio" "exact 0.5") # Reset layout ratio
(key "Backslash" "Super+Shift" "splitratio" "exact 0.5") # Reset layout ratio (key "Backslash" "Super+Shift" "layoutmsg" "orientationcycle center left")
(key "Backspace" "Super" "changegroupactive" "f") (key "Backspace" "Super" "changegroupactive" "f")
(key "Backspace" "Super+Ctrl" "togglegroup" null) (key "Backspace" "Super+Ctrl" "togglegroup" null)
(key "Backspace" "Super+Ctrl+Shift" "lockactivegroup" "toggle") (key "Backspace" "Super+Ctrl+Shift" "lockactivegroup" "toggle")
(key "Backspace" "Super+Shift" "movegroupwindow" null) (key "Backspace" "Super+Shift" "movegroupwindow" null)
(key "Bracketleft" "Super" "layoutmsg" "rollnext") (key "Bracketleft" "Super" "splitratio" "-0.1")
(key "Bracketleft" "Super+Shift" "splitratio" "-0.1") (key "Bracketleft" "Super+Shift" "layoutmsg" "rollnext")
(key "Bracketright" "Super" "layoutmsg" "rollprev") (key "Bracketright" "Super" "splitratio" "+0.1")
(key "Bracketright" "Super+Shift" "splitratio" "+0.1") (key "Bracketright" "Super+Shift" "layoutmsg" "rollprev")
(key "Comma" "Super" "layoutmsg" "swapprev") (key "Comma" "Super" "layoutmsg" "swapprev")
(key "Down" "Super" "movewindoworgroup" "d") (key "Down" "Super" "exec" "${swayosd-client} --brightness lower")
(key "Down" "Super+Shift" "movewindow" "d") (key "Down" "Super+Shift" "movewindoworgroup" "d")
(key "Equal" "Super" "exec" "${swayosd-client} --output-volume raise") (key "Equal" "Super" "exec" "${swayosd-client} --output-volume raise")
(key "Equal" "Super+Shift" "exec" "${zoom} +0.1") (key "Equal" "Super+Shift" "exec" "${zoom} +0.1")
(key "Escape" "Super" "togglefloating" null) (key "Escape" "Super" "togglefloating" null)
(key "Escape" "Super+Alt" "exec" "lifx state --color red") (key "Escape" "Super+Alt" "exec" "lifx state --color red")
(key "Escape" "Super+Shift" "centerwindow" null) (key "Escape" "Super+Shift" "centerwindow" null)
(key "Grave" "Super" "exec" smile) (key "Grave" "Super" "togglespecialworkspace" "scratchpad")
(key "Left" "Super" "movewindoworgroup" "l") (key "Grave" "Super+Shift" "movetoworkspacesilent" "special:scratchpad")
(key "Left" "Super" "exec" "${playerctl} previous")
(key "Left" "Super+Alt" "exec" "${left} --scroll kensington-orbit-wireless-tb-mouse") (key "Left" "Super+Alt" "exec" "${left} --scroll kensington-orbit-wireless-tb-mouse")
(key "Left" "Super+Shift" "movewindow" "l") (key "Left" "Super+Shift" "movewindoworgroup" "l")
(key "Minus" "Super" "exec" "${swayosd-client} --output-volume lower") (key "Minus" "Super" "exec" "${swayosd-client} --output-volume lower")
(key "Minus" "Super+Shift" "exec" "${zoom} -0.1") (key "Minus" "Super+Shift" "exec" "${zoom} -0.1")
(key "Period" "Super" "layoutmsg" "swapnext") (key "Period" "Super" "layoutmsg" "swapnext")
@ -166,8 +167,8 @@ in {
(key "Apostrophe" "Super+Alt+Shift" "exec" "${screenshot} display --edit") (key "Apostrophe" "Super+Alt+Shift" "exec" "${screenshot} display --edit")
(key "Return" "Super" "fullscreen" "1") # Maximize (key "Return" "Super" "fullscreen" "1") # Maximize
(key "Return" "Super+Shift" "fullscreen" "0") # Fullscreen (key "Return" "Super+Shift" "fullscreen" "0") # Fullscreen
(key "Right" "Super" "movewindoworgroup" "r") (key "Right" "Super" "exec" "${playerctl} next")
(key "Right" "Super+Shift" "movewindow" "r") (key "Right" "Super+Shift" "movewindoworgroup" "r")
(key "Semicolon" "Super" "exec" "${hyprpicker} --autocopy") (key "Semicolon" "Super" "exec" "${hyprpicker} --autocopy")
(key "Semicolon" "Super+Shift" "exec" "${hyprpicker} --autocopy --format rgb") (key "Semicolon" "Super+Shift" "exec" "${hyprpicker} --autocopy --format rgb")
(key "Slash" "Super" "exec" vrr) (key "Slash" "Super" "exec" vrr)
@ -187,8 +188,7 @@ in {
"--expression '^Picture.in.[Pp]icture$'" "--expression '^Picture.in.[Pp]icture$'"
"--workspace special:pip" "--workspace special:pip"
])) ]))
(key "Space" "Super" "togglespecialworkspace" "scratchpad") (key "Space" "Super" "exec" "${playerctl} play-pause")
(key "Space" "Super+Shift" "movetoworkspacesilent" "special:scratchpad")
(key "Space" "Super+Ctrl+Shift" "exec" (with config.custom; (key "Space" "Super+Ctrl+Shift" "exec" (with config.custom;
concatStringsSep " " [ concatStringsSep " " [
"${window} move" "${window} move"
@ -200,8 +200,8 @@ in {
(key "Tab" "Super" "layoutmsg" "cyclenext") (key "Tab" "Super" "layoutmsg" "cyclenext")
(key "Tab" "Super+Shift" "alterzorder" "top") (key "Tab" "Super+Shift" "alterzorder" "top")
(key "Tab" "Super+Shift" "cyclenext" "floating") (key "Tab" "Super+Shift" "cyclenext" "floating")
(key "Up" "Super" "movewindoworgroup" "u") (key "Up" "Super" "exec" "${swayosd-client} --brightness raise")
(key "Up" "Super+Shift" "movewindow" "u") (key "Up" "Super+Shift" "movewindoworgroup" "u")
(key "0" "Super" "exec" "${swayosd-client} --output-volume mute-toggle") (key "0" "Super" "exec" "${swayosd-client} --output-volume mute-toggle")
(key "0" "Super+Shift" "exec" zoom) (key "0" "Super+Shift" "exec" zoom)