a e s t h e t i c

This commit is contained in:
Alex Janka 2016-01-07 18:05:13 +11:00
parent 71342bd9b8
commit e5d9a5a87a
4 changed files with 14 additions and 6 deletions

View file

@ -13,8 +13,8 @@ bspc config focus_by_distance true
bspc config top_padding 16
bspc config focus_follows_pointer true
bspc monitor DVI-I-1 -d I II III IV V
bspc monitor DVI-D-0 -d VI VII VIII IX X
bspc monitor DVI-I-1 -d 1 2 3 4 5
bspc monitor DVI-D-0 -d 6 7 8 9 10
bspc monitor DVI-I-1 -n ""
bspc monitor DVI-D-0 -n ""

View file

@ -2,18 +2,17 @@
case $1 in
"play")
key="XF86AudioPlay"
playerctl play-pause
;;
"next")
key="XF86AudioNext"
playerctl next
;;
"prev")
key="XF86AudioPrev"
playerctl previous
;;
*)
echo "Usage: $0 play|next|prev"
exit 1
;;
esac
xdotool key --window $(xdotool search --name "Spotify (Premium |Unlimited |Free )?- Linux Preview"|head -n1) $key
exit 0

View file

@ -2,6 +2,15 @@
# wm independent hotkeys
#
XF86AudioPlay
/home/alex/spotifykeys.sh play
XF86AudioNext
/home/alex/spotifykeys.sh next
XF86AudioPrev
/home/alex/spotifykeys.sh prev
# terminal emulator
super + Return
urxvt

0
x/.xinitrc Normal file → Executable file
View file