mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: overhauled binds
This commit is contained in:
parent
985fcf23cd
commit
2405fe7cb4
1 changed files with 43 additions and 46 deletions
|
@ -9,33 +9,21 @@ let
|
|||
|
||||
superBinds = builtins.map (x: "SUPER, " + x) [
|
||||
# Apps
|
||||
# "Space, exec, rm -r /home/$USER/.cache/tofi* ; tofi-drun"
|
||||
"C, exec, zeditor"
|
||||
"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"
|
||||
"Z, exec, obsidian"
|
||||
"L, exec, slack"
|
||||
"H, exec, feishin"
|
||||
"Y, exec, scrcpy"
|
||||
"R, exec, ghostty -e nu -e btm"
|
||||
"N, exec, signal-desktop"
|
||||
"M, exec, element-desktop"
|
||||
"Home, exec, sudo protonvpn c --cc CA"
|
||||
"End, exec, hyprctl dispatch exit"
|
||||
"G, exec, scrcpy"
|
||||
"K, exec, ghostty -e nu -e y"
|
||||
"S, exec, steam"
|
||||
"period, exec, emote"
|
||||
"L, exec, ${
|
||||
if user == user0 then
|
||||
"slack"
|
||||
else if user == user1 then
|
||||
"flatpak run org.vinegarhq.Sober"
|
||||
else
|
||||
""
|
||||
}"
|
||||
"R, exec, obs"
|
||||
"N, exec, signal-desktop"
|
||||
"T, exec, zeditor"
|
||||
"B, exec, firefox"
|
||||
"X, exec, freetube"
|
||||
"V, exec, discordcanary"
|
||||
"M, exec, element-desktop"
|
||||
"D, exec, ghostty -e zellij a dotfiles"
|
||||
"P, exec, bitwarden"
|
||||
# Workspaces
|
||||
"1, workspace, 1"
|
||||
"2, workspace, 2"
|
||||
|
@ -43,42 +31,51 @@ let
|
|||
"4, workspace, 4"
|
||||
"5, workspace, 5"
|
||||
# Windows
|
||||
"F, togglefloating"
|
||||
"X, killactive"
|
||||
"Tab, fullscreen, 0"
|
||||
"P, pin, enable"
|
||||
"equal, splitratio, 0.33"
|
||||
"minus, splitratio, -0.33"
|
||||
"W, killactive"
|
||||
"F, splitratio, 0.33"
|
||||
"O, splitratio, -0.33"
|
||||
# Window Focus
|
||||
"left , movefocus, l"
|
||||
"down , movefocus, d"
|
||||
"up , movefocus, u"
|
||||
"right , movefocus, r"
|
||||
"C, movefocus, l"
|
||||
"A, movefocus, u"
|
||||
"E, movefocus, d"
|
||||
"I, movefocus, r"
|
||||
# Audio
|
||||
"F8, exec, playerctl next"
|
||||
"F7, exec, playerctl previous"
|
||||
"F6, exec, playerctl play-pause"
|
||||
"PageUp, exec, playerctl next"
|
||||
"PageDown, exec, playerctl previous"
|
||||
"Home, exec, playerctl play-pause"
|
||||
"Space, workspace, previous"
|
||||
];
|
||||
|
||||
superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [
|
||||
# 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"
|
||||
"Print, exec, grim -g \"$(slurp)\""
|
||||
"left , movewindow, l"
|
||||
"down , movewindow, d"
|
||||
"up , movewindow, u"
|
||||
"right , movewindow, r"
|
||||
"period, exec, emote"
|
||||
"Space, exec, rm -r /home/$USER/.cache/tofi* ; tofi-drun"
|
||||
"Tab, fullscreen, 0"
|
||||
"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"
|
||||
"2, movetoworkspacesilent, 2"
|
||||
"3, movetoworkspacesilent, 3"
|
||||
"4, movetoworkspacesilent, 4"
|
||||
"5, movetoworkspacesilent, 5"
|
||||
];
|
||||
superCtrlBinds = builtins.map (x: "SUPER CTRL, " + x) [
|
||||
# Super+shift binds
|
||||
];
|
||||
|
||||
altBinds = builtins.map (x: "ALT, " + x) [
|
||||
# Alt binds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue