mirror of
https://github.com/eRgo35/dots.git
synced 2026-02-04 21:36:15 +01:00
update configs
This commit is contained in:
10
.xinitrc
10
.xinitrc
@@ -1,8 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# screenlayout setup for odin
|
||||
autorandr -c
|
||||
|
||||
# start some nice programs
|
||||
# if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
# for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
@@ -71,6 +68,8 @@ setxkbmap pl &
|
||||
# Host-specific rules
|
||||
if [ "$(hostname)" = "zion" ]; then
|
||||
# Zion rules (Desktop)
|
||||
# screenlayout setup for odin
|
||||
bash $HOME/.config/screenlayout/main.sh &
|
||||
# Enable DPMS and set longer timeouts for desktop
|
||||
# xset +dpms
|
||||
# xset dpms 1200 2400 3600 # Standby: 20 min, Suspend: 40 min, Off: 60 min
|
||||
@@ -92,6 +91,7 @@ if [ "$(hostname)" = "zion" ]; then
|
||||
|
||||
elif [ "$(hostname)" = "thor" ]; then
|
||||
# Thor rules (Laptop)
|
||||
autorandr -c
|
||||
# Enable DPMS and set shorter timeouts for laptop
|
||||
# xset +dpms
|
||||
# xset dpms 300 600 900 # Standby: 5 min, Suspend: 10 min, Off: 15 min
|
||||
@@ -109,8 +109,12 @@ elif [ "$(hostname)" = "thor" ]; then
|
||||
--timer 600 "loginctl lock-session" "" \
|
||||
--timer 750 "xset dpms force standby" "" \
|
||||
--timer 900 "systemctl suspend" "" &
|
||||
else
|
||||
# Fallback rules for other hosts
|
||||
autorandr -c
|
||||
fi
|
||||
|
||||
|
||||
# auths
|
||||
# /usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
|
||||
# gnome-keyring-daemon &
|
||||
|
||||
Reference in New Issue
Block a user