Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FOR THE MAIN CONFIG FILE
- #! /bin/sh
- bspc monitor -d • • • • • • • • • •
- #! /bin/sh
- bspc config border_width 3
- bspc config window_gap 15
- bspc config split_ratio 0.55
- bspc config borderless_monocle true
- bspc config gapless_monocle true
- bspc rule -a Screenkey --unmanage
- bspc rule -a Gcolor2 floating=true center=true
- bspc rule -a Lxappearance floating=true center=true
- bspc rule -a Gmrun floating=true center=true
- bspc rule -a Lxterminal floating=true center=true
- bspc config normal_frame_opacity 0.0
- bspc config focused_frame_opacity 0.05
- bspc config focused_border_color "#91291D"
- bspc config normal_border_color "#404040"
- bspc config focus_follows_pointer true
- compton -b &
- #panel
- PANEL_HEIGHT=16
- PANEL_FIFO="/tmp/panel-fifo"
- PANEL_FONT="DejaVu Sans Mono:size=9"
- bspc config top_padding $PANEL_HEIGHT
- killall bspwmstatus dzen2 bspc xtitle
- [ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO"
- mkfifo "$PANEL_FIFO"
- bspc control --subscribe > "$PANEL_FIFO" &
- xtitle -sf 'T%s' > "$PANEL_FIFO" & # Optional: for window title
- bspwmstatus | dzen2 -fn "$PANEL_FONT" -h $PANEL_HEIGHT -ta l &
- panel dzen2
- FOR THE HOTKEYS
- #
- # bspwm hotkeys
- #
- super + alt + Escape
- pkill -x panel; bspc quit
- # Close current window
- super + x
- bspc window -c
- # Monocle toggle
- super + t
- bspc desktop -l next
- # Presets window distribution
- super + b
- bspc desktop -B
- # s - float / f - fullscreen
- super + {s,f}
- bspc window -t {floating,fullscreen}
- # Focus next window
- super + {grave,Tab}
- bspc {window,desktop} -f last
- # swap window with the last
- super + apostrophe
- bspc window -s last
- # previous window in history
- super + {o,i}
- bspc control --record-history off; \
- bspc window {older,newer} -f; \
- bspc control --record-history on
- super + y
- bspc window -w last.manual
- # move current window to biggest spot
- super + m
- bspc window -s biggest
- # move current window left,down,up,right
- super + {_,shift + }{h,j,k,l}
- bspc window -{f,s} {left,down,up,right}
- # cycle windows
- super + {_,shift + }c
- bspc window -f {next,prev}
- # move window back and forth
- super + {comma,period}
- bspc desktop -C {backward,forward}
- # change desktop left and right
- super + bracket{left,right}
- bspc desktop -f {prev,next}
- # move focus left,down,up,right
- super + ctrl + {h,j,k,l}
- bspc window -p {left,down,up,right}
- super + ctrl + {_,shift + }space
- bspc {window -p cancel,desktop -c}
- # Resize window
- super + alt + {h,j,k,l}
- bspc window -e {left -10,down +10,up -10,right +10}
- # Resize window
- super + alt + shift + {h,j,k,l}
- bspc window -e {right -10,up +10,down -10,left +10}
- #
- super + ctrl + {1-9}
- bspc window -r 0.{1-9}
- # go (Shift=move) to desktop #
- super + {_,shift + }{1-9,0}
- bspc {desktop -f,window -d} ^{1-9,10}
- # left click to focus
- ~button1
- bspc pointer -g focus
- # left click move right resize
- super + button{1-3}
- bspc pointer -g {move,resize_side,resize_corner}
- super + !button{1-3}
- bspc pointer -t %i %i
- super + @button{1-3}
- bspc pointer -u
- super + button{4-5}
- bspc desktop -f {prev,next}
- # change window gap at run time
- super + ctrl + equal
- bspc config -d focused window_gap $((`bspc config -d focused window_gap` + 5 ))
- super + ctrl + shift + equal
- bspc config top_padding 16; bspc config -d focused window_gap 15
- super + ctrl + minus
- bspc config -d focused window_gap $((`bspc config -d focused window_gap` - 5 ))
- super + ctrl + shift + minus
- bspc config top_padding 16; bspc config -d focused window_gap 0
- #
- # wm independent hotkeys
- #
- super + Return
- termite
- super + shift + Return
- lxterminal --geometry=60x12
- super + space
- dmenu_run -dim 0.4 -h 24 -p '>>>' -fn 'Inconsolata-zi4-12' -nb '#202020' -nf '#949494' -sb '#91291D' -sf '#eeeeee'
- super + z
- gmrun
- super + w
- firefox
- super + e
- leafpad
- super + shift + e
- gksu geany
- super + n
- termite -e 'ncmpcpp'
- super + shift + f
- gksu thunar
- super + ctrl + f
- thunar
- XF86AudioRaiseVolume
- amixer -q set Master 2%+ unmute
- XF86AudioLowerVolume
- amixer -q set Master 2%- unmute
- XF86AudioMute
- amixer -q set Master mute
- XF86AudioPlay
- ncmpcpp toggle
- XF86AudioStop
- ncmpcpp stop
- XF86AudioPrev
- ncmpcpp prev
- XF86AudioNext
- ncmpcpp next
- # make sxhkd reload its configuration files:
- super + Escape
- pkill -USR1 -x sxhkd
Advertisement
Add Comment
Please, Sign In to add comment