Clean dupes and updates from last few weeks
This commit is contained in:
parent
2da7c637c1
commit
70bc80bb28
36 changed files with 200 additions and 933 deletions
|
|
@ -2,13 +2,24 @@
|
|||
# wm independent hotkeys
|
||||
#
|
||||
|
||||
# start flavours
|
||||
set norm_bg "#343D46"
|
||||
set norm_fg "#CDD3DE"
|
||||
set sel_bg "#99C794"
|
||||
set sel_fg "#343D46"
|
||||
# end flavours
|
||||
|
||||
# terminal emulator
|
||||
super + Return
|
||||
urxvt
|
||||
st
|
||||
|
||||
# program launcher
|
||||
# super + @space
|
||||
# dmenu_run -l 15 -i -nf $(xrdb -query | grep '^*foreground' | cut -f2) -nb $(xrdb -query | grep '^*background' | cut -f2) -sb $(xrdb -query | grep -m 1 '*color4' | cut -f2) -sf $(xrdb -query | grep '^*foreground' | cut -f2)
|
||||
|
||||
|
||||
super + @space
|
||||
dmenu_run -l 15 -i -nf $(xrdb -query | grep '^*foreground' | cut -f2) -nb $(xrdb -query | grep '^*background' | cut -f2) -sb $(xrdb -query | grep -m 1 '*color1' | cut -f2) -sf $(xrdb -query | grep '^*foreground' | cut -f2)
|
||||
dmenu_run -l 15 -i -nf $norm_fg -nb $norm_bg -sb $sel_bg -sf $sel_fg
|
||||
|
||||
# make sxhkd reload its configuration files:
|
||||
super + Escape
|
||||
|
|
@ -112,13 +123,25 @@ super + ctrl + shift + space
|
|||
# move/resize
|
||||
#
|
||||
|
||||
# expand a window by moving one of its side outward
|
||||
super + alt + {h,j,k,l}
|
||||
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||
# # expand a window by moving one of its side outward
|
||||
# super + alt + {h,j,k,l}
|
||||
# bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||
|
||||
# contract a window by moving one of its side inward
|
||||
super + alt + shift + {h,j,k,l}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
# # contract a window by moving one of its side inward
|
||||
# super + alt + shift + {h,j,k,l}
|
||||
# bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
|
||||
# Resize windows
|
||||
# https://old.reddit.com/r/bspwm/comments/r5stxu/resizing_windows_nicely_in_my_opinion/
|
||||
super + alt + {h,j,k,l}
|
||||
{bspc node @parent/second -z left -20 0; \
|
||||
bspc node @parent/first -z right -20 0, \
|
||||
bspc node @parent/second -z top 0 +20; \
|
||||
bspc node @parent/first -z bottom 0 +20, \
|
||||
bspc node @parent/first -z bottom 0 -20; \
|
||||
bspc node @parent/second -z top 0 -20, \
|
||||
bspc node @parent/first -z right +20 0; \
|
||||
bspc node @parent/second -z left +20 0}
|
||||
|
||||
# move a floating window
|
||||
super + {Left,Down,Up,Right}
|
||||
|
|
@ -128,29 +151,29 @@ super + {Left,Down,Up,Right}
|
|||
# dmenu_run -l 15 -i
|
||||
|
||||
super + d
|
||||
dmenu_run -l 15 -i -nf $(xrdb -query | grep '^*foreground' | cut -f2) -nb $(xrdb -query | grep '^*background' | cut -f2) -sb $(xrdb -query | grep -m 1 '*color1' | cut -f2) -sf $(xrdb -query | grep '^*foreground' | cut -f2)
|
||||
dmenu_run -l 15 -i
|
||||
|
||||
super + w
|
||||
bspc config window_gap 0 && bspc config border_width 1
|
||||
bspc config window_gap 0
|
||||
|
||||
super + shift + w
|
||||
bspc config window_gap 12 && bspc config border_width 2
|
||||
bspc config window_gap 12
|
||||
|
||||
super + m
|
||||
{bspc rule -a \* -o state=floating && urxvt -e ncmpcpp}
|
||||
# urxvt -e bspc node -t ~floating && ncmpcpp
|
||||
{bspc rule -a \* -o state=floating && st -e ncmpcpp}
|
||||
# st -e bspc node -t ~floating && ncmpcpp
|
||||
|
||||
super + p
|
||||
urxvt -e vim $(tree -iaf -I .cache | dmenu)
|
||||
st -e vim $(tree -iaf -I .cache | dmenu)
|
||||
|
||||
super + n
|
||||
{bspc rule -a \* -o state=floating && urxvt -e newsboat}
|
||||
{bspc rule -a \* -o state=floating && st -e newsboat}
|
||||
|
||||
super + shift + n
|
||||
{bspc rule -a \* -o state=floating && urxvt -e nmtui}
|
||||
{bspc rule -a \* -o state=floating && st -e nmtui}
|
||||
|
||||
super + c
|
||||
{bspc rule -a \* -o state=floating && urxvt -e calcurse -D ~/.config/calcurse }
|
||||
{bspc rule -a \* -o state=floating && st -e calcurse -D ~/.config/calcurse }
|
||||
|
||||
# Increase/descrease gap size
|
||||
super + z
|
||||
|
|
@ -160,7 +183,7 @@ super + shift + z
|
|||
bspc config window_gap $(($(bspc config window_gap) + 3))
|
||||
|
||||
super + r
|
||||
{bspc rule -a \* -o state=floating && urxvt -e ranger}
|
||||
{bspc rule -a \* -o state=floating && st -e ranger}
|
||||
|
||||
super + b
|
||||
exec qutebrowser
|
||||
|
|
@ -170,3 +193,5 @@ super + x
|
|||
|
||||
super + shift + x
|
||||
setxkbmap -layout ru
|
||||
|
||||
# After quitting bar, reset spaces: bspc config top_padding 0 or bottom_padding
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue