-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbspwmrc
executable file
·60 lines (45 loc) · 1.45 KB
/
bspwmrc
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
53
54
55
56
57
58
59
60
#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
if xrandr | grep -q "HDMI-1 connected"; then
bspc monitor HDMI-1 -d I II III IV V VI
else
bspc monitor -d I II III IV V VI
fi
bspc config border_width 1
# gap=15
# height=0
# bspc config window_gap $gap;
# bspc config top_padding $(($height-gap))
# bspc config left_padding -$gap
# bspc config right_padding -$gap
# bspc config bottom_padding -$gap
##Color settings
bspc config normal_frame_opacity 1.0
bspc config focused_frame_opacity 0.05
bspc config focused_border_color "#000000"
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Thunderbird desktop='^6'
# bspc config pointer_follows_monitor true
bspc config focus_follows_pointer true
bspc config auto_alternate true
# mouse
# bspc config -m focused pointer_follows_monitor true
####### LAUNCHERS #######
polybar &
picom &
# nm-applet &
blueman-applet &
xfce4-power-manager &
birdtray &
###### DUAL MONITOR ######
if xrandr | grep "HDMI-1 connected"; then
# xrandr --output HDMI-1 --primary --mode 1920x1080 --rate 120 --output eDP-1 --auto --left-of HDMI-1 &
xrandr --output HDMI-1 --primary --mode 1920x1080 --rate 120 --output eDP-1 --off
fi
####### WALLPAPERS #######
feh --bg-scale /home/rxtsel/wallpapers/green.jpg &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &