Replace autorandr calls with screensetup-*

This commit is contained in:
Fierelier 2023-11-18 17:03:00 +01:00
parent e1a4c03f5a
commit 44c5bc0c63
8 changed files with 10 additions and 15 deletions

View File

@ -1,5 +1,9 @@
#!/usr/bin/env bash
set +e
xrandr --auto
"$de_distro" screensetup-load
if ! [ "$?" = "0" ]; then
xrandr --auto
fi
lxrandr
"$de_distro" screensetup-save
"$de_distro" module-run wallpaper

View File

@ -1,6 +1,6 @@
debian_keyboard
xsessionrc
autorandr
screensetup
wallpaper
lxpanel
openbox

View File

@ -1,6 +0,0 @@
output Virtual-1
crtc 0
mode 1024x768
pos 0x0
primary
rate 74.99

View File

@ -1 +0,0 @@
Virtual-1 00ffffffffffff0049143412000000002a180104a51a137806ee91a3544c99260f5054210800e1c0d1c00101010101010101010101012520006641001a30001e334004c310000018000000fd00327d1ea078010a202020202020000000fc0051454d55204d6f6e69746f720a000000f7000a004aa2242920000000000000012d02030a00457d6560591f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f2

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
export HOME="$1/modules.d/autorandr"
autorandr --save default --force

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
export HOME="$1/modules.d/autorandr"
autorandr --load default

View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
"$de_distro" screensetup-save

2
user/modules.d/screensetup/run Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
"$de_distro" screensetup-load