repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates
[dotfiles.git]
/
x
/
.xinitrc
diff --git
a/x/.xinitrc
b/x/.xinitrc
index
685a75a
..
f910dad
100755
(executable)
--- a/
x/.xinitrc
+++ b/
x/.xinitrc
@@
-5,28
+5,26
@@
export _JAVA_AWT_WM_NONREPARENTING=1
# notifications
dunst &
# notifications
dunst &
-# tray icons
-# trayer --align right --widthtype request --SetPartialStrut false --height 22 &
-
# gpg agent
eval "$(gpg-agent --daemon)"
# XResources
xrdb -merge ~/.Xresources
# 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
# 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
[ -x "$f" ] && . "$f"
done
- unset f
fi
# status bar
fi
# status bar
-
while true; do xsetroot -name "$(bar)"; sleep 1m; done
&
+
slstatus
&
-# w
m
+# w
indow manager
while true; do dwm 1>/tmp/dwm.log 2>&1; done
while true; do dwm 1>/tmp/dwm.log 2>&1; done