continue refactor, home modules are actual modules and remove some useless files

This commit is contained in:
2025-02-10 05:28:31 +01:00
parent 5363e26357
commit acc21888b9
133 changed files with 1541 additions and 1563 deletions

View File

@ -0,0 +1,15 @@
INTEGRATED="eDP"
HDMI="HDMI-A-0"
if xrandr | grep "$HDMI connected" && cat /proc/acpi/button/lid/LID/state | grep "closed"; then
bash ~/.config/bspwm/screenLayoutDocked.sh
bspc monitor $HDMI -d 1 2 3 4 5
bspc monitor $INTEGRATED -r
elif xrandr | grep "$HDMI connected";then
bash ~/.config/bspwm/screenLayoutHDMI.sh
bspc monitor $INTEGRATED -d 1 2 3 4
bspc monitor $HDMI -d A B
else
bash ~/.config/bspwm/screenLayoutSingle.sh
bspc monitor -d 1 2 3 4 5
xrandr -r 60
fi

View File

@ -0,0 +1,2 @@
#!/bin/sh
xrandr --output eDP --off --output HDMI-A-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1-0 --off --output DP-1-1 --off

View File

@ -0,0 +1,2 @@
#!/bin/sh
xrandr --output eDP --primary --mode 2560x1440 --pos 0x0 --rotate normal --output HDMI-A-0 --mode 1920x1080 --pos 2560x0 --rotate normal --output DP-1-0 --off --output DP-1-1 --off

View File

@ -0,0 +1,2 @@
#!/bin/sh
xrandr --output eDP --primary --mode 2560x1440 --pos 0x0 --rotate normal --output HDMI-A-0 --off --output DP-1-0 --off --output DP-1-1 --off