Close clipboard and bluetooth selection window if already open

This commit is contained in:
Wekuz 2026-04-03 10:33:46 +03:00
parent 170c2017ba
commit 4d40646a92
Signed by: Wekuz
GPG key ID: 2E502F2AABD32DF9

View file

@ -214,12 +214,12 @@ bind = $mainMod SHIFT, F, fullscreen, 0
# Hyprlock
bind = $mainMod SHIFT, L, exec, $hyprlock
# Cliphist
bind = $mainMod, V, exec, cliphist list | fuzzel -d -w 75 --select-index 1 | cliphist decode | wl-copy
bind = $mainMod, V, exec, pkill fuzzel || cliphist list | fuzzel -d -w 75 --select-index 1 | cliphist decode | wl-copy
# Hyprshot
bind = $mainMod SHIFT, S, exec, $hyprshot -m region --clipboard-only
bind = $mainMod SHIFT CTRL, S, exec, $hyprshot -m window --clipboard-only
bind = $mainMod SHIFT ALT, S, exec, $hyprshot -m output --clipboard-only
bind = $mainMod SHIFT, B, exec, bluetoothctl -- connect "$(bluetoothctl -- devices Paired | cut -f2- -d ' ' | fuzzel -d -l 8 | cut -f1 -d ' ')"
bind = $mainMod SHIFT, B, exec, pkill fuzzel || bluetoothctl -- connect "$(bluetoothctl -- devices Paired | cut -f2- -d ' ' | fuzzel -d -l 8 | cut -f1 -d ' ')"
bind = $mainMod SHIFT, A, exec, ~/scripts/select-audio-sink.sh
# Move focus