bspwm, sxhkd: More preparation

This commit is contained in:
Salt 2018-01-17 22:06:46 -06:00
parent 1c0f89eed2
commit 55eec7f693
2 changed files with 22 additions and 17 deletions

View File

@ -36,7 +36,7 @@ feh --randomize --bg-fill ~/Pictures/Wallpapers/i3 &
polybar alpha & # Simple bar polybar alpha & # Simple bar
## bspwm GENERAL CONFIGURATION ## 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 border_width 2
bspc config window_gap 4 bspc config window_gap 4
@ -48,10 +48,10 @@ bspc focus_follows_pointer true
bspc pointer_follows_focus true bspc pointer_follows_focus true
bspc pointer_follows_monitor true bspc pointer_follows_monitor true
bspc config normal_border_color "#1d2021"
bspc config active_border_color "#83a598" bspc config active_border_color "#83a598"
bspc config focused_border_color "#458588" bspc config focused_border_color "#458588"
bspc config presel_border_color "#d3869b" bspc config presel_border_color "#d3869b"
bspc config normal_border_color "#1d2021"
bspc config urgent_border_color "#fabd2f" bspc config urgent_border_color "#fabd2f"
## bspwm WINDOW RULES ## bspwm WINDOW RULES

View File

@ -1,40 +1,45 @@
#!/bin/bash #!/bin/bash
# terminal emulator # Execute terminal
alt + Return alt + Return
termite urxvt
# program launcher # Program launcher
alt + @space alt + @space
rofi -show drun rofi -show drun -display-drun ':'
# ssh launcher # SSH browser
alt + @\ alt + @\
rofi -show ssh rofi -show ssh
# alt-tabber # Program switcher
alt + Tab alt + Tab
rofi -show rofi -show
# make sxhkd reload its configuration files: # Reload SXHKD
alt + Escape alt + Escape
pkill -USR1 -x sxhkd pkill -USR1 -x sxhkd
# pulseaudio hotkeys # Pulse controls
Audio{Raise,Lower}Volume Audio{Raise,Lower}Volume
pactl set-sink-volume 0 {+,-}5% pactl set-sink-volume 0 {+,-}5%
AudioMute AudioMute
pactl set-sink-mute 0 toggle 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 # bspwm hotkeys
# #
# quit bspwm normally
alt + shift + Escape
bspc quit
# close and kill # close and kill
alt + {_,shift + }q alt + {_,shift + }q
bspc node -{c,k} bspc node -{c,k}
@ -56,7 +61,7 @@ alt + g
# #
# set the window state # 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} bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# set the node flags # set the node flags
@ -74,7 +79,7 @@ alt + {_,shift + }{Left,Down,Up,Right}
bspc node -{f,s} {west,south,north,east} bspc node -{f,s} {west,south,north,east}
# focus the node for the given path jump # 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} bspc node -f @{parent,brother,first,second}
# focus the next/previous node in the current desktop # focus the next/previous node in the current desktop