aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-09-08 23:22:57 +0200
committersrdusr <trevorgray@srdusr.com>2023-09-08 23:22:57 +0200
commit640d752a11ac89d8d1a3039d123d48078cb109c1 (patch)
tree25b62cab9e8583cc3672f54229edf815e9b4554e
parent783bada100f49f50a4f1c962810b216207f157a1 (diff)
downloaddotfiles-640d752a11ac89d8d1a3039d123d48078cb109c1.tar.gz
dotfiles-640d752a11ac89d8d1a3039d123d48078cb109c1.zip
Using parcellite for clip
-rwxr-xr-x.config/bspwm/bspwmrc22
1 files changed, 11 insertions, 11 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc
index 7f2228e..9a5ad20 100755
--- a/.config/bspwm/bspwmrc
+++ b/.config/bspwm/bspwmrc
@@ -44,7 +44,7 @@ bspc rule -a Plank layer=above border=off
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 &
@@ -70,8 +70,8 @@ bspc rule -a scratchpad sticky=on state=floating
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
@@ -80,16 +80,16 @@ 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 parcellite
+sleep 2 && nice -n 2 parcellite &
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 &
bspc config external_rules_command ~/.config/bspwm/scripts/external_rules.sh