repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some missing packages
[dotfiles.git]
/
x
/
.xinitrc
diff --git
a/x/.xinitrc
b/x/.xinitrc
index
763a2b5
..
685a75a
100755
(executable)
--- a/
x/.xinitrc
+++ b/
x/.xinitrc
@@
-1,11
+1,23
@@
#!/bin/bash
#!/bin/bash
-PATH=$PATH:~/.local/bin
-xautolock -locker ~/.local/bin/lock.sh &
+#To fix java applications in tiling (e.g. arduino)
+export _JAVA_AWT_WM_NONREPARENTING=1
+
+# notifications
dunst &
dunst &
+# tray icons
+# trayer --align right --widthtype request --SetPartialStrut false --height 22 &
+
+# gpg agent
eval "$(gpg-agent --daemon)"
eval "$(gpg-agent --daemon)"
+
+# XResources
xrdb -merge ~/.Xresources
xrdb -merge ~/.Xresources
+# auto locking
+xautolock -locker slock -time 10 &
+
+# Other system wide xinit files
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
@@
-13,5
+25,8
@@
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
unset f
fi
+# status bar
while true; do xsetroot -name "$(bar)"; sleep 1m; done &
while true; do xsetroot -name "$(bar)"; sleep 1m; done &
-while true; do dwm >dwm.log 2>&1; done
+
+# wm
+while true; do dwm 1>/tmp/dwm.log 2>&1; done