1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-04 05:19:26 +00:00

Add script to switch window states between active/minimize and use it when clicking Spotify module

This commit is contained in:
2019-08-06 16:25:59 +02:00
parent 6e6445203c
commit 7a6d7ca172
3 changed files with 24 additions and 1 deletions

View File

@ -4,7 +4,7 @@ killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
export TERMINAL_CMD="tilix --profile orange --new-process -e"
export WM_CONTROL="wmctrl -a"
export WM_CONTROL="$(dirname $0)/scripts/switch_window_state"
for monitor in $(polybar --list-monitors | cut -d":" -f1); do
export MONITOR=$monitor