feat: overhauled binds

This commit is contained in:
Nick 2025-02-16 00:44:08 -06:00
parent 985fcf23cd
commit 2405fe7cb4

View file

@ -9,33 +9,21 @@ let
superBinds = builtins.map (x: "SUPER, " + x) [ superBinds = builtins.map (x: "SUPER, " + x) [
# Apps # Apps
# "Space, exec, rm -r /home/$USER/.cache/tofi* ; tofi-drun" "Z, exec, obsidian"
"C, exec, zeditor" "L, exec, slack"
"A, exec, obsidian"
"D, exec, ghostty -e zellij a dotfiles"
"E, exec, ghostty -e nu -e y"
"T, exec, ghostty"
"G, exec, firefox https://cronometer.com/#diary"
"B, exec, firefox"
"V, exec, discordcanary"
"W, exec, bitwarden"
"H, exec, feishin" "H, exec, feishin"
"Y, exec, scrcpy" "G, exec, scrcpy"
"R, exec, ghostty -e nu -e btm" "K, exec, ghostty -e nu -e y"
"N, exec, signal-desktop"
"M, exec, element-desktop"
"Home, exec, sudo protonvpn c --cc CA"
"End, exec, hyprctl dispatch exit"
"S, exec, steam" "S, exec, steam"
"period, exec, emote" "R, exec, obs"
"L, exec, ${ "N, exec, signal-desktop"
if user == user0 then "T, exec, zeditor"
"slack" "B, exec, firefox"
else if user == user1 then "X, exec, freetube"
"flatpak run org.vinegarhq.Sober" "V, exec, discordcanary"
else "M, exec, element-desktop"
"" "D, exec, ghostty -e zellij a dotfiles"
}" "P, exec, bitwarden"
# Workspaces # Workspaces
"1, workspace, 1" "1, workspace, 1"
"2, workspace, 2" "2, workspace, 2"
@ -43,42 +31,51 @@ let
"4, workspace, 4" "4, workspace, 4"
"5, workspace, 5" "5, workspace, 5"
# Windows # Windows
"F, togglefloating" "W, killactive"
"X, killactive" "F, splitratio, 0.33"
"Tab, fullscreen, 0" "O, splitratio, -0.33"
"P, pin, enable"
"equal, splitratio, 0.33"
"minus, splitratio, -0.33"
# Window Focus # Window Focus
"left , movefocus, l" "C, movefocus, l"
"down , movefocus, d" "A, movefocus, u"
"up , movefocus, u" "E, movefocus, d"
"right , movefocus, r" "I, movefocus, r"
# Audio # Audio
"F8, exec, playerctl next" "PageUp, exec, playerctl next"
"F7, exec, playerctl previous" "PageDown, exec, playerctl previous"
"F6, exec, playerctl play-pause" "Home, exec, playerctl play-pause"
"Space, workspace, previous" "Space, workspace, previous"
]; ];
superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [ superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [
# Super+shift binds # Super+shift binds
# Window Move
"C, movewindow, l"
"A, movewindow, u"
"E, movewindow, d"
"I, movewindow, r"
# Quick Action
"T, exec, ghostty"
"S, exec, flameshot gui" "S, exec, flameshot gui"
"Print, exec, grim -g \"$(slurp)\"" "period, exec, emote"
"left , movewindow, l" "Space, exec, rm -r /home/$USER/.cache/tofi* ; tofi-drun"
"down , movewindow, d" "Tab, fullscreen, 0"
"up , movewindow, u"
"right , movewindow, r"
"Backspace, layoutmsg, togglesplit" "Backspace, layoutmsg, togglesplit"
"P, pin, enable"
"F, togglefloating"
# "Print, exec, grim -g \"$(slurp)\""
# Utility
"End, exec, hyprctl dispatch exit"
"Insert, exec, reboot now"
"Home, exec, swaylock"
];
superCtrlBinds = builtins.map (x: "SUPER CTRL, " + x) [
# Super+shift binds
"1, movetoworkspacesilent, 1" "1, movetoworkspacesilent, 1"
"2, movetoworkspacesilent, 2" "2, movetoworkspacesilent, 2"
"3, movetoworkspacesilent, 3" "3, movetoworkspacesilent, 3"
"4, movetoworkspacesilent, 4" "4, movetoworkspacesilent, 4"
"5, movetoworkspacesilent, 5" "5, movetoworkspacesilent, 5"
]; ];
superCtrlBinds = builtins.map (x: "SUPER CTRL, " + x) [
# Super+shift binds
];
altBinds = builtins.map (x: "ALT, " + x) [ altBinds = builtins.map (x: "ALT, " + x) [
# Alt binds # Alt binds