summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-10-09 14:52:01 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-10-09 14:52:01 +0800
commitdd8f7fe4777fc8150272b7b4e2ab20fc3e857c54 (patch)
tree52befa0be4c61bf53be3755ac1e02fd42a51bf1f
parentdf9a3523a8c6daa6967b4fdd19956a07b120ddf2 (diff)
add(binds): added auto start spotify if play-pause and not started yet
add(binds): new group bind
-rw-r--r--dot-config/hypr/binds.conf5
1 files changed, 4 insertions, 1 deletions
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)