From e5d9a5a87a2ec4959e0bdfabb21c97f753c4f4c9 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Thu, 7 Jan 2016 18:05:13 +1100 Subject: [PATCH] a e s t h e t i c --- bspwm/.config/bspwm/bspwmrc | 4 ++-- bspwm/spotifykeys.sh | 7 +++---- sxhkd/.config/sxhkd/sxhkdrc | 9 +++++++++ x/.xinitrc | 0 4 files changed, 14 insertions(+), 6 deletions(-) mode change 100644 => 100755 x/.xinitrc diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 6bbddbc..425c8e7 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -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 "" diff --git a/bspwm/spotifykeys.sh b/bspwm/spotifykeys.sh index 0093174..2905a4f 100755 --- a/bspwm/spotifykeys.sh +++ b/bspwm/spotifykeys.sh @@ -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 diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 5e4c6d8..06821cb 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -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 diff --git a/x/.xinitrc b/x/.xinitrc old mode 100644 new mode 100755