fixup! fixup! fixup! fixup! fixup! fixup! fixup! Install lucid
This commit is contained in:
5 files changed
+31
-4
No files matched your search
@@ -153,7 +153,7 @@ in {
|
||||
|
||||
bind = [
|
||||
(bind "SUPER + V" (exec "ghostty --title=clipse -e clipse"))
|
||||
(bind "SUPER + SHIFT + V" (exec "qs ipc call launcher clipboard"))
|
||||
(hyprLua.bind "SUPER + SHIFT + V" (hyprLua.execLauncher "qs ipc call launcher clipboard"))
|
||||
(bind "Print" (exec "qs ipc call snap toggle"))
|
||||
(bind "SUPER + Print" (exec "qs ipc call screenshot full"))
|
||||
(bind "CTRL + Print" (exec "qs ipc call snap region"))
|
||||
|
||||
@@ -7,6 +7,12 @@ in rec {
|
||||
|
||||
exec = command: "hl.dsp.exec_cmd(${quote command})";
|
||||
|
||||
# Hyprland 0.57 can leave exclusive layer-shell launchers unfocused when
|
||||
# follow_mouse = 1 and the pointer is already over a regular window.
|
||||
execLauncher = command: ''
|
||||
hl.dsp.exec_cmd(${quote ("hyprctl eval 'hl.config({ input = { follow_mouse = 2 } })' && " + command)})
|
||||
'';
|
||||
|
||||
bind = keys: dispatcher: {
|
||||
_args = [
|
||||
keys
|
||||
|
||||
@@ -189,7 +189,9 @@ in {
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.settings.bind = [
|
||||
(hyprLua.bind "SUPER + D" (hyprLua.exec
|
||||
(if config.home.username == "sweetbread" then "qs ipc call launcher toggle" else "walker")))
|
||||
(hyprLua.bind "SUPER + D"
|
||||
(if config.home.username == "sweetbread"
|
||||
then hyprLua.execLauncher "qs ipc call launcher toggle"
|
||||
else hyprLua.exec "walker"))
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user