summaryrefslogtreecommitdiff
path: root/config/bspwm/bspwmrc
diff options
context:
space:
mode:
authordavidovki <david@davidovski.xyz>2023-03-19 13:25:11 +0000
committerdavidovki <david@davidovski.xyz>2023-03-19 13:25:11 +0000
commitafffca4dd857afebf1c7c2032fab0a55dd1340f6 (patch)
treee61cfd86b13030e55d17e40b4bf797f57bd2d959 /config/bspwm/bspwmrc
parent33fb893a3120325c39539aee94361222659ae04f (diff)
Re-enabled shadows for picom
Diffstat (limited to 'config/bspwm/bspwmrc')
-rwxr-xr-xconfig/bspwm/bspwmrc22
1 files changed, 11 insertions, 11 deletions
diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc
index ccd9cc1..af256db 100755
--- a/config/bspwm/bspwmrc
+++ b/config/bspwm/bspwmrc
@@ -1,18 +1,19 @@
#!/bin/sh
-
setup=0
-COLOR_BACKGROUND="#191919"
+COLOR_BACKGROUND="#282a2e"
COLOR_PRIMARY="#fefefe"
-COLOR_SECONDARY="#f58f44"
+COLOR_SECONDARY="#81a2be"
+BORDER=2
+hsetroot -solid $COLOR_BACKGROUND &
xsetroot -cursor_name left_ptr &
xrdb ~/.Xdefaults
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x picom > /dev/null || picom &
pgrep -x xss-lock > /dev/null || xss-lock slock &
-pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &
+#pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &
[ -f "$HOME/.config/xrandr.sh" ] && . $HOME/.config/xrandr.sh
@@ -31,16 +32,15 @@ done
$HOME/.config/polybar/launch.sh &
-bspc config border_width 1
+bspc config border_width $BORDER
bspc config window_gap 0
+$HOME/.scripts/toggle-gap.sh
bspc config focus_follows_pointer false
-bspc config normal_border_color "$COLOR_BACKGROUND"
-bspc config active_border_color "$COLOR_BACKGROUND"
-bspc config focused_border_color "$COLOR_PRIMARY"
+bspc config normal_border_color "$COLOR_PRIMARY"
+bspc config active_border_color "$COLOR_PRIMARY"
+bspc config focused_border_color "$COLOR_SECONDARY"
wmname bspwm
-urxvt &
-
-sleep 1; $HOME/.scripts/start-mpd
+$HOME/.scripts/start-mpd