#! /bin/bash run () { pgrep -f "$*" && echo "$1 already running" || $* & } xrdb -merge ~/.Xdefaults xsetroot -cursor_name left_ptr run sxhkd run polybar bspwm run ~/scripts/bspwm/desktops.sh run ~/scripts/bspwm/border_colors.sh ~/scripts/bspwm/wallpaper.sh #compton -i .8 --focus-exclude '_NET_WM_NAME@:s = "rofi"' --blur-background --blur-kern '3,3,0.1,1,1,1,1,1,1,1' & # Create at least a desktop named "1" and add all the other existing desktop bspc monitor -d $(cat <(echo 1) <(bspc query --names -D | grep -v Desktop) | sort -u -V | tr -s '\n' ' ') bspc config border_width 2 bspc config window_gap 12 bspc config split_ratio 0.52 bspc config borderless_monocle true bspc config gapless_monocle true bspc config single_monocle true bspc config focus_follows_pointer true #bspc rule -a Gimp desktop='^8' state=floating follow=on #bspc rule -a Screenkey manage=off #bspc rule -a Thunderbird desktop='Mail' #bspc rule -a 'Firefox-esr' desktop='Web' #bspc rule -a Gmpc desktop='Musique' bspc rule -r "*" bspc rule -a "QtPass:qtpass" sticky=on state=floating