2025-01-08 01:05:45 -06:00
|
|
|
let
|
|
|
|
superBinds = builtins.map (x: "SUPER, " + x) [
|
|
|
|
# Apps
|
|
|
|
"Space, exec, rm -r /home/$USER/.cache/tofi* ; tofi-drun"
|
|
|
|
"C, exec, code"
|
2025-01-08 02:02:38 -06:00
|
|
|
"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"
|
2025-01-08 01:05:45 -06:00
|
|
|
"B, exec, firefox"
|
|
|
|
"V, exec, vesktop"
|
|
|
|
"W, exec, bitwarden"
|
|
|
|
"H, exec, feishin"
|
2025-01-08 02:02:38 -06:00
|
|
|
"Y, exec, scrcpy"
|
|
|
|
"R, exec, ghostty -e nu -e btm"
|
2025-01-08 01:05:45 -06:00
|
|
|
"N, exec, signal-desktop"
|
|
|
|
"M, exec, element-desktop"
|
|
|
|
"End, exec, hyprctl dispatch exit"
|
|
|
|
"S, exec, steam"
|
|
|
|
"period, exec, emote"
|
|
|
|
# Workspaces
|
|
|
|
"1, workspace, 1"
|
|
|
|
"2, workspace, 2"
|
|
|
|
"3, workspace, 3"
|
|
|
|
"4, workspace, 4"
|
|
|
|
"5, workspace, 5"
|
|
|
|
# Windows
|
|
|
|
"F, togglefloating"
|
|
|
|
"X, killactive"
|
|
|
|
"Tab, fullscreen, 0"
|
|
|
|
"P, pin, enable"
|
|
|
|
"bracketleft, splitratio, -0.1"
|
|
|
|
"bracketright, splitratio, +0.1"
|
|
|
|
# Window Focus
|
|
|
|
"left , movefocus, l"
|
|
|
|
"down , movefocus, d"
|
|
|
|
"up , movefocus, u"
|
|
|
|
"right , movefocus, r"
|
|
|
|
# Audio
|
|
|
|
"F8, exec, playerctl next"
|
|
|
|
"F7, exec, playerctl previous"
|
|
|
|
"F6, exec, playerctl play-pause"
|
|
|
|
];
|
|
|
|
|
|
|
|
superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [
|
|
|
|
# Super+shift binds
|
2025-01-08 19:06:14 -06:00
|
|
|
"S, exec, hyprshot -m region"
|
|
|
|
"W, exec, hyprshot -m window"
|
2025-01-08 01:05:45 -06:00
|
|
|
"Print, exec, grim -g \"$(slurp)\""
|
|
|
|
"ScrollDown, workspace, previous"
|
|
|
|
"left , movewindow, l"
|
|
|
|
"down , movewindow, d"
|
|
|
|
"up , movewindow, u"
|
|
|
|
"right , movewindow, r"
|
|
|
|
];
|
|
|
|
superCtrlBinds = builtins.map (x: "SUPER CTRL, " + x) [
|
|
|
|
# Super+shift binds
|
|
|
|
"Space, workspace, previous"
|
|
|
|
"S, layoutmsg, togglesplit"
|
|
|
|
"equal, splitratio, 0.33"
|
|
|
|
"minus, splitratio, -0.33"
|
|
|
|
];
|
|
|
|
|
|
|
|
altBinds = builtins.map (x: "ALT, " + x) [
|
|
|
|
# Alt binds
|
|
|
|
];
|
|
|
|
|
|
|
|
shiftBinds = builtins.map (x: "SHIFT, " + x) [
|
|
|
|
# Shift binds
|
|
|
|
];
|
|
|
|
|
|
|
|
ctrlBinds = builtins.map (x: "CTRL, " + x) [
|
|
|
|
# Ctrl binds
|
|
|
|
];
|
|
|
|
|
|
|
|
ctrlShiftBinds = builtins.map (x: "CTRL SHIFT, " + x) [
|
|
|
|
# Ctrl+shift binds
|
|
|
|
"1, movetoworkspacesilent, 1"
|
|
|
|
"2, movetoworkspacesilent, 2"
|
|
|
|
"3, movetoworkspacesilent, 3"
|
|
|
|
"4, movetoworkspacesilent, 4"
|
|
|
|
];
|
|
|
|
in
|
|
|
|
superBinds ++ superShiftBinds ++ superCtrlBinds ++ altBinds ++ ctrlBinds ++ ctrlShiftBinds ++ shiftBinds
|
|
|
|
# Docs
|
|
|
|
# https://wiki.hyprland.org/Getting-Started/Master-Tutorial/
|
|
|
|
|