From 459f0d207e4eaae539ce59b2258af2b782122e87 Mon Sep 17 00:00:00 2001 From: srdusr Date: Thu, 16 Nov 2023 17:47:42 +0200 Subject: Start hotspots script --- .config/bspwm/bspwmrc | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to '.config/bspwm') 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 & -- cgit v1.2.3