Skip to content

Instantly share code, notes, and snippets.

@AlphaNecron
Last active November 22, 2020 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlphaNecron/434d3f6a791107d4dc086e70f5c42a67 to your computer and use it in GitHub Desktop.
Save AlphaNecron/434d3f6a791107d4dc086e70f5c42a67 to your computer and use it in GitHub Desktop.
#!/usr/bin/env dash
export XDG_CURRENT_DESKTOP=bspwm
export QT_QPA_PLATFORMTHEME=qt5ct
pgrep -x sxhkd > /dev/null || sxhkd &
bspc monitor -d 'web' 'code' 'chat' 'games' 'music' 'vscode' 'spotify' 'discord' 'other'
bspc config border_width 2
bspc config window_gap 12
bspc config split_ratio 0.5
bspc config borderless_monocle true
bspc config pointer_action1 move
bspc config pointer_action2 none
bspc config pointer_action3 resize_corner
bspc config click_to_focus button1
bspc config automatic_scheme longest_side
bspc config gapless_monocle true
bspc rule -a Gimp desktop='^4' state=floating follow=on
bspc rule -a Brave-browser-dev desktop='^1' manage=on focus=on state=tiled
bspc rule -a Subl desktop='^2'
bspc rule -a Code desktop='^2'
bspc rule -a Alacritty border=off
bspc rule -a discord desktop='^8' manage=on focus=on state=pseudo_tiled center=true
bspc rule -a minecraft-launcher desktop='^4' state=floating
bspc rule -a mplayer2 state=floating
bspc rule -a Microsoft-edge-dev desktop='^1' border=off focus=on
bspc rule -a Nm-connection-editor state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a SimpleScreenRecorder state=floating
bspc rule -a Screenkey manage=off
bspc config normal_border_color "#8FBCBB"
bspc config active_border_color "#88C0D0"
bspc config focused_border_color "#81A1C1"
bspc config presel_feedback_color "#5E81AC"
exec $HOME/startup &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment