X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.xinitrc;h=2822f4160547b94f9e197c21e52103c20563ec7a;hb=cbbcf4f08064bfa325cdaaf93aca4b245f70b78c;hp=685a75a0f58de8ca2e55b413d71080b8767e2c2c;hpb=7553d3a3fcf877457ea1c93d2d7ab1e3ba11487a;p=dotfiles.git diff --git a/x/.xinitrc b/x/.xinitrc index 685a75a..2822f41 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -5,28 +5,27 @@ export _JAVA_AWT_WM_NONREPARENTING=1 # notifications dunst & -# tray icons -# trayer --align right --widthtype request --SetPartialStrut false --height 22 & - # gpg agent eval "$(gpg-agent --daemon)" # XResources xrdb -merge ~/.Xresources -# auto locking -xautolock -locker slock -time 10 & +# auto locking but only on laptop +if [ $(hostname) != ygdrassil ]; then + xautolock -locker slock -time 10 & +fi # Other system wide xinit files -if [ -d /etc/X11/xinit/xinitrc.d ] ; then - for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh; do [ -x "$f" ] && . "$f" done - unset f fi # status bar while true; do xsetroot -name "$(bar)"; sleep 1m; done & -# wm +#xrandr --setmonitor Presentation 3840/1040x1080/640+0+0 eDP1,HDMI1 +#xrandr --output eDP1 --mode 1920x1080 --output HDMI1 --mode 1920x1080 --right-of=eDP1 while true; do dwm 1>/tmp/dwm.log 2>&1; done