activate linux same for all so it's in the default config, change laptop screen names

This commit is contained in:
2024-10-18 18:07:00 +02:00
parent 49fbb96f88
commit 6e8a5117ab
3 changed files with 3 additions and 4 deletions

View File

@ -19,3 +19,4 @@ pgrep dunst >/dev/null || dunst &
numlockx on & numlockx on &
setxkbmap fr us& setxkbmap fr us&
nitrogen --restore & nitrogen --restore &
pgrep activate-linux >/dev/null || (sleep 2;activate-linux -c 1-1-1-0.7 -V 50 -H 50 -d)&

View File

@ -1 +0,0 @@
pgrep activate-linux >/dev/null || (sleep 2;activate-linux -c 1-1-1-0.7 -V 50 -H 50 -d)&

View File

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