aboutsummaryrefslogtreecommitdiff
path: root/.config/bspwm/bspwmrc
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-08-02 16:19:30 +0200
committersrdusr <trevorgray@srdusr.com>2023-08-02 16:19:30 +0200
commit2180b9d6c50108080f511e3fb77653859dfaeef1 (patch)
tree4dc1e33368cce62a58ee73bb2ad7090142eff124 /.config/bspwm/bspwmrc
parent99038104f89585074b1fd2c3cc02748dde0678f2 (diff)
downloaddotfiles-2180b9d6c50108080f511e3fb77653859dfaeef1.tar.gz
dotfiles-2180b9d6c50108080f511e3fb77653859dfaeef1.zip
Removed dropdown script
Diffstat (limited to '.config/bspwm/bspwmrc')
-rwxr-xr-x.config/bspwm/bspwmrc49
1 files changed, 24 insertions, 25 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index d8d7a96..7f2228e 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -38,23 +38,22 @@ bspc config presel_feedback_color "#BF616A"
# remove all rules first
bspc rule -r *:*
-bspc rule -a Plank layer=above border=off
-
+bspc rule -a Plank layer=above border=off
###---Autostart---####
-pgrep -x sxhkd > /dev/null || sxhkd &
+pgrep -x sxhkd >/dev/null || sxhkd &
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
+ 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 &
"$HOME"/.config/polybar/launch.sh &
-dunst & # notification daemon
-unclutter & # Remove mouse when idle
+dunst & # notification daemon
+unclutter & # Remove mouse when idle
nitrogen --force-setter=xinerama --restore &
#bspc rule -a \* rectangle=680x700+340+40
-bspc rule -a '*:*:Picture-in-Picture' state=floating sticky=on layer=above
-bspc rule -a '*:*:Picture in picture' state=floating sticky=on layer=above
+bspc rule -a '*:*:Picture-in-Picture' state=floating sticky=on layer=above
+bspc rule -a '*:*:Picture in picture' state=floating sticky=on layer=above
bspc rule -a firefox:Toolkit focus=on state=floating sticky=on layer=above rectangle=522x320+830+280
#320x190+1030+480
#522x316-10+280
@@ -65,32 +64,32 @@ bspc rule -a wezterm state=floating
#eww daemon &
# SCRATCHPAD
-bspc rule -a scratchpad sticky=on state=floating rectangle=575x320+393+370
-
-bspc rule -a dropdown sticky=on state=floating
+bspc rule -a scratchpad sticky=on state=floating
# Heads Up Display (scratchpad)
bspc rule -a Heads-Up-Display sticky=on state=floating rectangle=360x160+990+40
[ "$1" = 0 ] && {
- nm-applet &
- plank &
+ nm-applet &
+ plank &
}
-pkill xfce4-power-manager; sleep 1 && nice -n 1 xfce4-power-manager &
-pkill volumeicon; sleep 2 && nice -n 2 volumeicon &
-pkill mictray; sleep 2 && nice -n 2 mictray &
-pkill diodon; sleep 2 && nice -n 2 diodon &
+pkill xfce4-power-manager
+sleep 1 && nice -n 1 xfce4-power-manager &
+pkill volumeicon
+sleep 2 && nice -n 2 volumeicon &
+pkill mictray
+sleep 2 && nice -n 2 mictray &
+pkill diodon
+sleep 2 && nice -n 2 diodon &
bspc subscribe node_state | while read -r _ _ _ _ state flag; do
- if [[ "$state" != fullscreen ]]; then continue; fi
- if [[ "$flag" == on ]]; then
- xdo lower -N Plank
- else
- xdo raise -N Plank
- fi
+ if [[ "$state" != fullscreen ]]; then continue; fi
+ if [[ "$flag" == on ]]; then
+ xdo lower -N Plank
+ else
+ xdo raise -N Plank
+ fi
done &
-xrdb ~/.config/X11/.Xresources &
-
bspc config external_rules_command ~/.config/bspwm/scripts/external_rules.sh