From 55eec7f69314088d9bbea1e55ece41065bb31510 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 17 Jan 2018 22:06:46 -0600 Subject: [PATCH] bspwm, sxhkd: More preparation --- .config/bspwm/bspwmrc | 4 ++-- .config/sxhkd/sxhkdrc | 35 ++++++++++++++++++++--------------- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 4d12739c..eec1731a 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -36,7 +36,7 @@ feh --randomize --bg-fill ~/Pictures/Wallpapers/i3 & polybar alpha & # Simple bar ## bspwm GENERAL CONFIGURATION -bspc monitor -d I II III IV V VI VII VIII IX X +bspc monitor -d 1 2 3 4 5 6 7 8 9 10 bspc config border_width 2 bspc config window_gap 4 @@ -48,10 +48,10 @@ bspc focus_follows_pointer true bspc pointer_follows_focus true bspc pointer_follows_monitor true +bspc config normal_border_color "#1d2021" bspc config active_border_color "#83a598" bspc config focused_border_color "#458588" bspc config presel_border_color "#d3869b" -bspc config normal_border_color "#1d2021" bspc config urgent_border_color "#fabd2f" ## bspwm WINDOW RULES diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 9c7fbfb4..b27d237c 100755 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -1,40 +1,45 @@ #!/bin/bash -# terminal emulator +# Execute terminal alt + Return - termite + urxvt -# program launcher +# Program launcher alt + @space - rofi -show drun + rofi -show drun -display-drun ':' -# ssh launcher +# SSH browser alt + @\ rofi -show ssh -# alt-tabber +# Program switcher alt + Tab rofi -show -# make sxhkd reload its configuration files: +# Reload SXHKD alt + Escape pkill -USR1 -x sxhkd -# pulseaudio hotkeys +# Pulse controls Audio{Raise,Lower}Volume pactl set-sink-volume 0 {+,-}5% - AudioMute pactl set-sink-mute 0 toggle +# Brightness controls +XF86MonBrightness(Up,Down) + xbacklight (-inc,-dec) 5 + +# mpv-xwinwrap Controls +alt + p + ~/.local/bin/mpv-xwinwrap +alt + shift + p + pkill xwinwrap + # # bspwm hotkeys # -# quit bspwm normally -alt + shift + Escape - bspc quit - # close and kill alt + {_,shift + }q bspc node -{c,k} @@ -56,7 +61,7 @@ alt + g # # set the window state -alt + {t,shift + t,s,f} +alt + {t,shift + t,f,shift + f} bspc node -t {tiled,pseudo_tiled,floating,fullscreen} # set the node flags @@ -74,7 +79,7 @@ alt + {_,shift + }{Left,Down,Up,Right} bspc node -{f,s} {west,south,north,east} # focus the node for the given path jump -alt + {p,b,comma,period +alt + {a,b,comma,period} bspc node -f @{parent,brother,first,second} # focus the next/previous node in the current desktop