fix desktop graphics drivers and other things idk

This commit is contained in:
2024-10-18 17:42:42 +02:00
parent e9302c7c27
commit 01b5d55c3b
16 changed files with 101 additions and 59 deletions

View File

@ -0,0 +1,15 @@
INTEGRATED="eDP-1"
HDMI="HDMI-1"
if xrandr | grep "$HDMI connected" && cat /proc/acpi/button/lid/LID/state | grep "closed"; then
bash ~/.screenlayout/b.sh
bspc monitor $HDMI -d 1 2 3 4 5
bspc monitor $INTEGRATED -r
elif xrandr | grep "$HDMI connected";then
bash ~/.screenlayout/a.sh
bspc monitor $INTEGRATED -d 1 2 3 4
bspc monitor $HDMI -d A B
else
bspc monitor -d 1 2 3 4 5
xrandr -r 60
fi
pgrep activate-linux >/dev/null || (sleep 2;activate-linux -c 1-1-1-0.7 -V 50 -H 70 -d)&