summaryrefslogtreecommitdiff
path: root/.config/bspwm/bspwmrc
blob: e1ce6ac2bbec3bb0815d68d41e0021fb2390ae20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#! /bin/sh

pgrep -x sxhkd > /dev/null || sxhkd &
picom &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
#/usr/bin/nm-applet &
sh $HOME/Documents/scroll_trackball.sh
$HOME/.config/polybar/launch.sh &
hsetroot -solid '#2c2e3e' &
/usr/bin/kdeconnect-indicator &
#feh --bg-fill $HOME/Pictures/wallpaper/flower_1920x1080.png &

# bspc config top_padding 27
bspc monitor -d 1 2 3 4 5 6 7 8 9

bspc config border_width         2
bspc config window_gap           1

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true

bspc config normal_border_color '#9e9e9e'
bspc config focused_border_color '#ebebeb'

wmname LG3D

bspc rule -a URxvt state=floating
bspc rule -a kitty state=floating
bspc rule -a Thunar state=floating
bspc rule -a Lxappearance state=floating
bspc rule -a "Gnome-system-monitor" state=floating
bspc rule -a Gnome-disks state=floating
bspc rule -a Gnome-calculator state=floating
bspc rule -a "Gufw.py" state=floating
bspc rule -a Eom state=floating
bspc rule -a feh state=floating
bspc rule -a XTerm state=floating
bspc rule -a Pavucontrol state=floating
bspc rule -a '*:slack' desktop='^9' state=tiled follow=off
bspc rule -a '*:megasync' state=floating
bspc rule -a processing-app-Base state=floating


bspc subscribe node_state | while read -r _ _ _ node state status; do
if [[ "$state" == "floating" ]]; then
	case "$status" in
		off) xprop -id "$node" -remove _COMPTON_SHADOW;;
		on) xprop -id "$node" -f _COMPTON_SHADOW 32c -set _COMPTON_SHADOW 1;;
	esac
fi
done