xenodm: config update + move

This commit is contained in:
Jake Bauer 2024-08-10 15:36:07 +02:00
parent 804fc89fde
commit ed23ecea1b
3 changed files with 17 additions and 5 deletions

View File

@ -12,10 +12,20 @@ xlogin.Login.namePrompt:
xlogin.Login.passwdPrompt:
xlogin.Login.fail: -- ACCESS DENIED --
! For 2K displays
#if WIDTH > 1920
xlogin.Login.width: 900
xlogin.Login.height: 450
xlogin.Login.x: 990
xlogin.Login.y: 540
! For FHD displays
#else
xlogin.Login.width: 600
xlogin.Login.height: 300
xlogin.Login.x: 660
xlogin.Login.y: 360
#endif
xlogin*borderWidth: 0
xlogin.Login.sepWidth: 0
xlogin.Login.frameWidth: 10

View File

@ -1,6 +1,10 @@
#!/bin/sh
# Thanks to www.tumfatig.net for the inspiration
if [ "$(xrandr | grep '^DP-1 connected')" ]; then
xrandr --output DP-1 --auto --dpi 224 --output eDP-1 --off
fi
xsetroot -solid "#FCFCFC"
# Sleep / Restart / Shutdown bar

View File

@ -27,17 +27,15 @@ mkdir -p \
git clone https://git.jaderune.net/jbauer/dotfiles ~/Documents/Projects/dotfiles
cd ~/Documents/Projects/dotfiles
echo "Copying user configuration files"
for file in .????*; do
cp -r "$file" ~
done
echo "Copying etc/ files"
doas cp -r etc/* /etc/
doas chmod 774 /etc/apm/*
echo "Writing xenodm config"
doas cp xenodm.Xresources /etc/X11/xenodm/Xresources
doas cp xenodm.Xsetup_0 /etc/X11/xenodm/Xsetup_0
doas chmod 744 /etc/apm/*
doas chmod 744 /etc/hotplug/*
echo "pkill xmessage" | cat - /etc/X11/xenodm/GiveConsole > /etc/X11/xenodm/GiveConsole
groups="staff,_shutdown"