dotfiles/bspwm/bspwmrc
2020-08-01 15:05:15 +03:00

59 lines
1.5 KiB
Bash
Executable file

#! /bin/sh
###
# AUTOSTART
###
sxhkd &
~/.config/polybar/launch.sh &
nitrogen --restore
picom &
dunst &
#((defapt cred ca bspwm se poate ocupa singur de asta))TODO mini script care detecteaza monitoare si le da workspace-uri dinamic
bspc monitor -d I II III IV V VI VII VIII IX
bspc config focus_follows_pointer true
bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true
bspc config merge_overlapping_monitors true
bspc config pointer_follows_monitor true
#bspc config bottom_padding 25
#bspc config top_monocle_padding 0
bspc config border_width 2
bspc config window_gap 10
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
#TODO adauga culori din Xresources
### COLORS
bspc config normal_border_color
bspc config active_border_color
bspc config focused_border_color
bspc config presel_feedback_color
bspc config normal_sticky_border_color
bspc config active_sticky_border_color
bspc config focused_sticky_border_color
bspc config normal_private_border_color ""
bspc config active_private_border_color ""
bspc config focused_private_border_color ""
###
# APP RULES
###
bspc rule -a Gimp desktop='^9' state=floating follow=on
bspc rule -a Pavucontrol state=floating
bspc rule -a copyq state=floating #TODO? daca nu se spawneaza in coltul ecranului atunci fa-l sa faca asa manual
bspc rule -a Screenkey manage=off
bspc rule -a Firefox desktop='^1'
bspc rule -a Discord desktop='^4'