From 669cd7b1b730141ea020635e4d8f76cc30628d71 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 1 Nov 2024 00:18:46 +0800 Subject: add: missioncenter gui keybind change: noinitialfocus for spotify when launched in no music playing --- dot-config/hypr/binds.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index 3da1aa11..49e501f6 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -43,6 +43,7 @@ bind = ctrl alt, v, exec, $termfloat -e $editor # Emergency bindtp = ctrl alt, b, exec, $termfloat -T btop -e sudo nice -n -20 ionice -c 1 sudo btop bindtp = ctrl alt, delete, execr, pkill rofi || $rofiexec/rofi_shutdown_menu +bindtp = ctrl shift, escape, execr, missioncenter # Misc # bind = ctrl alt, m, execr, music @@ -64,7 +65,7 @@ bind = ,XF86AudioMute, execr, $HOME/scripts/sysutil.sh volume --toggle bind = ,XF86AudioMicMute, execr, $HOME/scripts/sysutil.sh volume --toggle-mic bind = ,XF86AudioNext, execr, playerctl -p spotify next bind = ,XF86AudioPrev, execr, playerctl -p spotify previous -bindl = ,XF86AudioPlay, exec, [workspace 7 silent] $HOME/scripts/play-pause.sh || LD_PRELOAD=/usr/lib/spotify-adblock.so spotify +bindl = ,XF86AudioPlay, exec, [workspace 7 silent; noinitialfocus] $HOME/scripts/play-pause.sh || LD_PRELOAD=/usr/lib/spotify-adblock.so spotify bind = ,XF86AudioStop, execr, playerctl -p spotify stop bind = ,XF86PowerOff, execr, pkill rofi || $rofiexec/rofi_shutdown @@ -187,10 +188,10 @@ bindm = $mainMod, mouse:273, resizewindow # bindri = $mainMod, mouse:272, pin, disable -bindi = ,mouse:276, execr, exec -a autoclicker-left zsh -c 'while true; do wlrctl pointer click; sleep $((0.$RANDOM/10)); done' -bindi = ,mouse:275, execr, exec -a autoclicker-right zsh -c 'while true; do wlrctl pointer click right; sleep $((0.$RANDOM/10)); done' -bindri = ,mouse:276, execr, kill $(pgrep -f autoclicker-left) -bindri = ,mouse:275, execr, kill $(pgrep -f autoclicker-right) +bindi = ,mouse:275, execr, exec -a autoclicker-left zsh -c 'while true; do wlrctl pointer click; sleep $((0.$RANDOM/10)); done' +bindi = ,mouse:276, execr, exec -a autoclicker-right zsh -c 'while true; do wlrctl pointer click right; sleep $((0.$RANDOM/10)); done' +bindri = ,mouse:275, execr, kill $(pgrep -f autoclicker-left) +bindri = ,mouse:276, execr, kill $(pgrep -f autoclicker-right) # Make group bind = $mainMod, g, togglegroup -- cgit v1.2.3