-
Notifications
You must be signed in to change notification settings - Fork 1
/
bspwmrc
94 lines (71 loc) · 2.81 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#!/bin/sh
################################
# ╔╗ ╔═╗╔═╗╦ ╦╔═╗ #
# ╠╩╗╚═╗╠═╝║║║╠═╝ #
# ╚═╝╚═╝╩ ╚╩╝╩ #
# - By: Areia - #
################################
# ##############################################################################
# # ENV VARS BY RXYHN #
# ##############################################################################
## Environments
export PATH="${PATH}:${HOME}/.config/bspwm/bin"
# Parse colors from "~/.Xresources"
xrdb -override "${HOME}/.Xresources"
xrdb_query()
{
[ -n "$XRDB_QUERY" ] || XRDB_QUERY="$(xrdb -query)"
echo "$XRDB_QUERY" | while IFS=';' read -r STRING; do
[ "${1}" = "${STRING%%\ *}" ] || continue
echo "${STRING##*\ }"
break
done
}
# ##############################################################################
# # GENERAL SETTINGS #
# ##############################################################################
wmname LG3D &
vmware-user-suid-wrapper &
pgrep -x sxhkd > /dev/null || sxhkd &
bspc monitor -d I II III IV V VI VII VIII IX X
CURRENT_BORDER='2.5'
CURRENT_GAP='19'
CURRENT_SRATIO='1.4'
#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 rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
bspc config border_width "$CURRENT_BORDER"
bspc config window_gap "$CURRENT_GAP"
bspc config split_ratio "$CURRENT_SRATIO"
bspc config focused_border_color "$BLUE"
bspc config normal_border_color "$BACKGROUND"
bspc config active_border_color "$MAGENTA"
bspc config presel_feedback_color "$GREEN"
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config paddingless_monocle true
bspc config single_monocle false
bspc config focus_follows_pointer true
# ##############################################################################
# # AUTOSTART APPS #
# ##############################################################################
# Run EWW.
#$HOME/.local/bin/eww -c $HOME/.config/eww/bar --restart open bar &
# Run Picom.
picom --config $HOME/.config/picom/picom.conf &
# Start X wallpaper.
feh --no-fehbg --bg-fill ~/backgrounds/aphrodite.png
# Fix cursor.
xsetroot -cursor_name left_ptr
# POLYBAR
~/.config/polybar/launch.sh
# CUSTOM
bspc config focus_follows_pointer true
xsetroot -cursor_name left_ptr &