|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
xrdb "$XDG_CONFIG_HOME/xorg/Xresources"
|
|
|
|
|
|
|
|
# Setup display
|
|
|
|
|
|
|
|
# >>> hostname=arch-desktop
|
|
|
|
monctl primary DP-1 &
|
|
|
|
# <<<
|
|
|
|
# >>> hostname=arch-laptop
|
|
|
|
# monctl auto 3000 2000 48 eDP-1 &
|
|
|
|
# <<<
|
|
|
|
|
|
|
|
# Set default X cursor to arrow
|
|
|
|
xsetroot -cursor_name left_ptr
|
|
|
|
|
|
|
|
# Disable screensaver
|
|
|
|
xset s off
|
|
|
|
xset -dpms
|
|
|
|
|
|
|
|
# Turn off touchscreen
|
|
|
|
inputctl -s off
|
|
|
|
|
|
|
|
# Daemon starting
|
|
|
|
dunst &
|
|
|
|
redshift -P &
|
|
|
|
|
|
|
|
emacs --daemon &
|
|
|
|
thunar --daemon &
|
|
|
|
|
|
|
|
sxhkd "$XDG_CONFIG_HOME/sxhkd/$WM" &
|
|
|
|
xss-lock -- "$HOME/.local/bin/wm/lock.sh" &
|
|
|
|
|
|
|
|
/usr/lib/polkit-kde-authentication-agent-1 &
|
|
|
|
|
|
|
|
exec "$WM"
|