aboutsummaryrefslogtreecommitdiff
path: root/.config/bspwm/bspwmrc
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-11-16 17:47:42 +0200
committersrdusr <trevorgray@srdusr.com>2023-11-16 17:47:42 +0200
commit459f0d207e4eaae539ce59b2258af2b782122e87 (patch)
treea74d0b1e95836640b8de55659a571f4e36e61eea /.config/bspwm/bspwmrc
parent593085d6b252307a835cc7d5e3486f2cbbdbcf4f (diff)
downloaddotfiles-459f0d207e4eaae539ce59b2258af2b782122e87.tar.gz
dotfiles-459f0d207e4eaae539ce59b2258af2b782122e87.zip
Start hotspots script
Diffstat (limited to '.config/bspwm/bspwmrc')
-rwxr-xr-x.config/bspwm/bspwmrc23
1 files changed, 9 insertions, 14 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 0b985b6..f22a23a 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -47,9 +47,10 @@ picom -b --experimental-backends &
if [[ $(xrandr -q | grep 'HDMI-1 connected') ]]; then
xrandr --output LVDS-1 --primary --mode 1366x768 --rotate normal --output HDMI-1 --mode 1920x1080 --rotate normal --right-of LVDS-1
fi
-xfce4-panel --disable-wm-check &
+#xfce4-panel --disable-wm-check &
"$HOME"/.config/polybar/launch.sh &
-
+PANEL_HEIGHT=20
+bspc config top_padding "$PANEL_HEIGHT"
feh --bg-fill "$HOME"/pictures/wallpapers/national-park.jpg
dunst & # notification daemon
unclutter & # Remove mouse when idle
@@ -86,27 +87,21 @@ sleep 2 && nice -n 2 parcellite &
pkill udiskie
sleep 2 && nice -n 2 udiskie &
+# Eww
pkill eww
eww daemon
-#"$(which eww)" -c "$HOME"/.config/eww --restart open dock &
-
-bspc subscribe node_state | while read -r _ _ _ _ state flag; do
- if [ "$state" != "fullscreen" ]; then
- continue
- fi
- if [ "$flag" == on ]; then
- "$(which eww)" -c "$HOME"/.config/eww close-all
- else
- "$(which eww)" -c "$HOME"/.config/eww open bar
- fi
-done &
+hotspots &
+#"$(which eww)" -c "$HOME"/.config/eww --restart open bar &
+# Fullscreen
bspc subscribe node_state | while read -r _ _ _ _ state flag; do
if [[ "$state" != fullscreen ]]; then continue; fi
if [[ "$flag" == on ]]; then
xdo lower -N Plank
+ #"$(which eww)" -c "$HOME"/.config/eww close-all
else
xdo raise -N Plank
+ #"$(which eww)" -c "$HOME"/.config/eww open bar
fi
done &