summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-11-01 00:18:46 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-11-01 00:18:46 +0800
commit669cd7b1b730141ea020635e4d8f76cc30628d71 (patch)
treec933bb332cb7ce417c987ed38d201ca00097beff
parent9508ff7ae55577f6b7ab708cd32c0662d49fec54 (diff)
add: missioncenter gui keybind
change: noinitialfocus for spotify when launched in no music playing
-rw-r--r--dot-config/hypr/binds.conf11
1 files 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