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
## 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

View File

@ -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