diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-02-03 00:01:16 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-02-03 00:01:16 +0300 |
commit | e5532752993f463524e0c89d5e82b5a84a77759b (patch) | |
tree | 0ce47eba97ecd5256d6cd29c86a50ac756b30cc1 /dotfiles/.local/bin/i3barmusic | |
parent | 2cb2af9d66ef98877ffee2f588c7a85036750d55 (diff) | |
download | swayrice-e5532752993f463524e0c89d5e82b5a84a77759b.tar.gz swayrice-e5532752993f463524e0c89d5e82b5a84a77759b.zip |
load gtk settings on sway start, vpn shortcut and waybar indicator
Diffstat (limited to 'dotfiles/.local/bin/i3barmusic')
-rwxr-xr-x | dotfiles/.local/bin/i3barmusic | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dotfiles/.local/bin/i3barmusic b/dotfiles/.local/bin/i3barmusic deleted file mode 100755 index 5647a81..0000000 --- a/dotfiles/.local/bin/i3barmusic +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -filter() { - sed "/^volume:/d" | tac | sed -e "s/\\&/&/g;s/\\[paused\\].*/<span color=\"gray\" font_style=\"italic\">/g;s/\\[playing\\].*/<span>/g" | tr -d '\n' | sed -e "s/$/<\\/span>/g" - } - -case $BLOCK_BUTTON in - 1) mpc toggle | filter ;; - 2) mpc status | filter && setsid "$TERMINAL" -e ncmpcpp & ;; - 3) mpc status | filter && notify-send "🎵 Music module" "\- Shows mpd song playing. -- Italic when paused. -- Left click opens ncmpcpp. -- Middle click pauses. -- Scroll changes track.";; # right click, pause/unpause - 4) mpc prev | filter ;; # scroll up, previous - 5) mpc next | filter ;; # scroll down, next - *) mpc status | filter ;; -esac; exit |