fix(hyprland) reset submap on script bindings

This commit is contained in:
Barrett Ruth 2026-02-14 22:30:52 -05:00
parent 784108a45f
commit 8c873f7469
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 9 additions and 9 deletions

View file

@ -103,14 +103,14 @@ bind = ALT SHIFT, Y, exec, hypr spawnfocus --ws 3 sioyek
bind = , XF86Tools, submap, scripts bind = , XF86Tools, submap, scripts
submap = scripts submap = scripts
bind = , A, exec, ctl audio out bind = , A, exec, hyprctl dispatch submap reset; ctl audio out
bind = , C, exec, sh -lc 'cliphist list | fuzzel --dmenu --prompt="clip: " | cliphist decode | wl-copy' bind = , C, exec, hyprctl dispatch submap reset; sh -lc 'cliphist list | fuzzel --dmenu --prompt="clip: " | cliphist decode | wl-copy'
bind = , K, exec, ctl keyboard next bind = , K, exec, hyprctl dispatch submap reset; ctl keyboard next
bind = , O, exec, ctl ocr bind = , O, exec, hyprctl dispatch submap reset; ctl ocr
bind = , M, exec, ctl media bind = , M, exec, hyprctl dispatch submap reset; ctl media
bind = , P, exec, ctl power bind = , P, exec, hyprctl dispatch submap reset; ctl power
bind = , S, exec, ctl screenshot bind = , S, exec, hyprctl dispatch submap reset; ctl screenshot
bind = , T, exec, theme bind = , T, exec, hyprctl dispatch submap reset; theme
bind = , catchall, submap, reset bind = , catchall, submap, reset
submap = reset submap = reset

View file

@ -108,7 +108,7 @@ in
enable = true; enable = true;
vt = 1; vt = 1;
settings.default_session = { settings.default_session = {
command = "${tuigreet} --time --asterisks --cmd '${pkgs.zsh}/bin/zsh --login' --theme 'border=dark-gray;text=white;prompt=blue;time=dark-gray;action=dark-gray;button=blue;container=black;input=white'"; command = "${tuigreet} --time --asterisks --cmd '${lib.getExe config.users.users.barrett.shell} --login' --theme 'border=dark-gray;text=white;prompt=blue;time=dark-gray;action=dark-gray;button=blue;container=black;input=white'";
user = "greeter"; user = "greeter";
}; };
}; };