From dd8f7fe4777fc8150272b7b4e2ab20fc3e857c54 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 9 Oct 2024 14:52:01 +0800 Subject: add(binds): added auto start spotify if play-pause and not started yet add(binds): new group bind --- dot-config/hypr/binds.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index bf5b80db..a5dc096a 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -62,7 +62,7 @@ bind = ,XF86AudioMute, exec, $HOME/scripts/sysutil.sh volume --toggle bind = ,XF86AudioMicMute, exec, $HOME/scripts/sysutil.sh volume --toggle-mic bind = ,XF86AudioNext, exec, playerctl -p spotify next bind = ,XF86AudioPrev, exec, playerctl -p spotify previous -bindl = ,XF86AudioPlay, exec, playerctl -p spotify play-pause +bindl = ,XF86AudioPlay, exec, playerctl -p spotify play-pause || LD_PRELOAD=/usr/lib/spotify-adblock.so spotify bind = ,XF86AudioStop, exec, playerctl -p spotify stop bind = ,XF86PowerOff, exec, pkill rofi || $rofiexec/rofi_shutdown @@ -165,6 +165,9 @@ bindi = ,mouse:275, exec, exec -a autoclicker-right zsh -c 'while true; do wlrct bindri = ,mouse:276, exec, kill $(pgrep -f autoclicker-left) bindri = ,mouse:275, exec, kill $(pgrep -f autoclicker-right) +# Make group +bind = $mainMod, g, togglegroup + # bindie = ,mouse:276, exec, wlrctl pointer click # bindie = ,mouse:275, exec, wlrctl pointer click right # bindri = ,mouse:276, exec, kill $(pgrep -f autoclicker-left) -- cgit v1.2.3