feat: refactored glance

This commit is contained in:
Nick 2025-05-25 18:28:37 -05:00
parent 3c230de4fd
commit 8d4ce8d2f9
17 changed files with 571 additions and 149 deletions

View file

@ -23,15 +23,14 @@ let
"G, exec, scrcpy"
"R, exec, thunar"
"S, exec, steam"
"E, exec, ghostty -e y"
"N, exec, signal-desktop"
"T, exec, zeditor"
"B, exec, floorp"
"Y, exec, freetube"
"X, exec, freetube"
"V, exec, vesktop"
"M, exec, element-desktop"
"D, exec, ghostty"
"W, exec, bitwarden"
"P, exec, bitwarden"
# Workspaces
"1, workspace, 1"
"2, workspace, 2"
@ -40,13 +39,18 @@ let
"5, workspace, 5"
# Windows
"Tab, killactive"
"F, togglefloating"
"Backspace, layoutmsg, togglesplit"
# Window Focus
"C, movefocus, l"
"A, movefocus, u"
"E, movefocus, d"
"I, movefocus, r"
"Left, movefocus, l"
"Up, movefocus, u"
"Down, movefocus, d"
"Right, movefocus, r"
"F, splitratio, -0.33"
"O, splitratio, 0.33"
"bracketleft, splitratio, -0.33"
"bracketright, splitratio, 0.33"
# Audio
@ -64,7 +68,7 @@ let
# Super+shift binds
"S, exec, flameshot gui"
"period, exec, emote"
"Tab, fullscreen, 0"
"T, fullscreen, 0"
# "Print, exec, grim -g \"$(slurp)\""
];
superCtrlBinds = builtins.map (x: "SUPER CTRL, " + x) [
@ -73,6 +77,18 @@ let
altBinds = builtins.map (x: "CTRL ALT, " + x) [
# Alt binds
# "Tab, togglefloating"
# Window
"1, movetoworkspacesilent, 1"
"2, movetoworkspacesilent, 2"
"3, movetoworkspacesilent, 3"
"4, movetoworkspacesilent, 4"
"5, movetoworkspacesilent, 5"
# Window Move
"C, movewindow, l"
"A, movewindow, u"
"E, movewindow, d"
"I, movewindow, r"
];
shiftBinds = builtins.map (x: "SHIFT, " + x) [
@ -85,13 +101,13 @@ let
ctrlShiftBinds = builtins.map (x: "CTRL SHIFT, " + x) [
# Ctrl+shift binds
# Window
# # Window
"Tab, togglefloating"
"1, movetoworkspacesilent, 1"
"2, movetoworkspacesilent, 2"
"3, movetoworkspacesilent, 3"
"4, movetoworkspacesilent, 4"
"5, movetoworkspacesilent, 5"
# Window Move
"Left, movewindow, l"
"Up, movewindow, u"
"Down, movewindow, d"