|
|
|
@@ -23,24 +23,52 @@
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# Shell keybinds
|
|
|
|
|
bindi = [
|
|
|
|
|
"$mod, Super_L, global, caelestia:launcher" # bind to `bind` because `bindi` maps to it
|
|
|
|
|
# Launcher
|
|
|
|
|
];
|
|
|
|
|
bindin =
|
|
|
|
|
[
|
|
|
|
|
"$mod, catchall, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, mouse:272, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, mouse:273, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, mouse:274, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, mouse:275, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, mouse:276, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, mouse:277, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, mouse_up, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, mouse_down, global, caelestia:launcherInterrupt"
|
|
|
|
|
|
|
|
|
|
"$mod, K, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, H, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, J, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, L, global, caelestia:launcherInterrupt"
|
|
|
|
|
|
|
|
|
|
"$mod, W, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, Q, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, C, global, caelestia:launcherInterrupt"
|
|
|
|
|
"$mod, Return, global, caelestia:launcherInterrupt"
|
|
|
|
|
]
|
|
|
|
|
++ (
|
|
|
|
|
# Go to workspace group #
|
|
|
|
|
builtins.concatLists (builtins.genList (
|
|
|
|
|
i: let
|
|
|
|
|
ws = i + 1;
|
|
|
|
|
in [
|
|
|
|
|
"$mod, ${toString ws}, global, caelestia:launcherInterrupt"
|
|
|
|
|
]
|
|
|
|
|
)
|
|
|
|
|
9)
|
|
|
|
|
)
|
|
|
|
|
++ [
|
|
|
|
|
"$mod, 0, global, caelestia:launcherInterrupt"
|
|
|
|
|
];
|
|
|
|
|
bind =
|
|
|
|
|
[
|
|
|
|
|
# Launcher
|
|
|
|
|
"$mod, Super_L, exec, caelestia launcher" # bind to `bind` because `bindi` maps to it
|
|
|
|
|
"$mod, catchall, exec, caelestia launcherInterrupt" # bindin
|
|
|
|
|
"$mod, mouse:272, exec, caelestia launcherInterrupt" # bindin
|
|
|
|
|
"$mod, mouse:273, exec, caelestia launcherInterrupt" # bindin
|
|
|
|
|
"$mod, mouse:274, exec, caelestia launcherInterrupt" # bindin
|
|
|
|
|
"$mod, mouse:275, exec, caelestia launcherInterrupt" # bindin
|
|
|
|
|
"$mod, mouse:276, exec, caelestia launcherInterrupt" # bindin
|
|
|
|
|
"$mod, mouse:277, exec, caelestia launcherInterrupt" # bindin
|
|
|
|
|
"$mod, mouse_up, exec, caelestia launcherInterrupt" # bindin
|
|
|
|
|
"$mod, mouse_down, exec, caelestia launcherInterrupt" # bindin
|
|
|
|
|
|
|
|
|
|
# Misc
|
|
|
|
|
"Control+Alt, Delete, exec, caelestia session"
|
|
|
|
|
"$mod, K, exec, caelestia showall"
|
|
|
|
|
"$mod, L, exec, caelestia lock"
|
|
|
|
|
"Control+Alt, Delete, exec, caelestia:session"
|
|
|
|
|
"$mod, MINUS, global, caelestia:showall"
|
|
|
|
|
"$mod, PLUS, global, caelestia:lock"
|
|
|
|
|
|
|
|
|
|
# Restore lock - these are `bindl` in your original, but `exec` should be fine here.
|
|
|
|
|
# However, `bindl` is typically for a *release* event. If `caelestia shell -d` is a daemon,
|
|
|
|
@@ -51,10 +79,9 @@
|
|
|
|
|
|
|
|
|
|
# Apps
|
|
|
|
|
"$mod, Return, exec, app2unit -- kitty"
|
|
|
|
|
"$mod, W, exec, app2unit -- zen-browser"
|
|
|
|
|
"$mod, C, exec, app2unit -- codium"
|
|
|
|
|
"$mod, G, exec, app2unit -- github-desktop"
|
|
|
|
|
"$mod, W, exec, app2unit -- firefox"
|
|
|
|
|
"$mod, E, exec, app2unit -- thunar"
|
|
|
|
|
"$mod, Q, killactive"
|
|
|
|
|
"$mod ALT, E, exec, app2unit -- nemo"
|
|
|
|
|
"Control+Alt, Escape, exec, app2unit -- qps"
|
|
|
|
|
"Control+Alt, V, exec, app2unit -- pavucontrol"
|
|
|
|
@@ -166,13 +193,13 @@
|
|
|
|
|
i: let
|
|
|
|
|
ws = i + 1;
|
|
|
|
|
in [
|
|
|
|
|
"$mod ALT, ${toString ws}, exec, ${wsaction} movetoworkspace ${toString ws}"
|
|
|
|
|
"$mod SHIFT, ${toString ws}, exec, ${wsaction} movetoworkspace ${toString ws}"
|
|
|
|
|
]
|
|
|
|
|
)
|
|
|
|
|
9)
|
|
|
|
|
)
|
|
|
|
|
++ [
|
|
|
|
|
"$mod ALT, 0, exec, ~/.config/hypr/scripts/wsaction.fish movetoworkspace 10"
|
|
|
|
|
"$mod SHIFT, 0, exec, ~/.config/hypr/scripts/wsaction.fish movetoworkspace 10"
|
|
|
|
|
]
|
|
|
|
|
++ (
|
|
|
|
|
# Move window to workspace group #
|
|
|
|
|