--- /dev/null
+#!/bin/sh
+mv /opt/clean /opt/clean.bak
+curl ftp://ftp.cs.ru.nl/pub/Clean/builds/linux-x64/clean-bundle-complete-linux-x64-latest.tgz | tar -xz
+mv clean-bundle-complete /opt/clean
static const char *passmenu_type[] = { "/usr/share/doc/pass/examples/dmenu/passmenu", "--type", "-m", dmenumon, "-fn", font0, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *scr[] = { "scr", NULL };
static const char *scr_sel[] = { "scr", "selection", NULL };
-static const char *lock[] = { "slock", NULL };
+static const char *lock[] = { "xautolock", "-locknow", NULL };
static const char *brightup[] = { "xbacklight", "-inc", "5", NULL };
-static const char *brightdown[] = { "xbacklight", "-inc", "5", NULL };
+static const char *brightdown[] = { "xbacklight", "-dec", "5", NULL };
static const char *volume_mute[] = {"pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL};
static const char *volume_dec[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL};
static const char *volume_inc[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL};
{ TERMMOD, XK_V, clippaste, {.i = 0} },
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
- { TERMMOD, XK_I, iso14755, {.i = 0} },
+// { TERMMOD, XK_I, iso14755, {.i = 0} },
};
/*
firefox-esr \
git \
imagemagick\
- khal \
khard \
libnotify-bin \
man-db \
msmtp \
mutt \
- ncmpcpp \
notmuch \
notmuch-mutt \
offlineimap \
# info "GPU Driver" gpu_driver # Linux/macOS only
# info "CPU Usage" cpu_usage
info "Disk" disk
-# info "Battery" battery
+ info "Battery" battery
# info "Font" font
# info "Song" song
# info "Local IP" local_ip
# info "Users" users
# info "Locale" locale # This only works on glibc systems.
#
- prin "Audio Interface" "Roland DUO-CAPTURE EX 24-bit DIGITAL"
- prin "Speakers" "2x JBL Series 3 LSR305"
+# prin "Audio Interface" "Roland DUO-CAPTURE EX 24-bit DIGITAL"
+# prin "Speakers" "2x JBL Series 3 LSR305"
info line_break
info cols
fi
fi
-eval $(xdotool search --onlyvisible trayer getwindowgeometry --shell)
+#eval $(xdotool search --onlyvisible trayer getwindowgeometry --shell)
echo \
"W $wlan"\
"♪ $(pactl list sinks | grep -Po "(?<=Volume: front)[^%]*" | grep -o "[0-9]\?[0-9][0-9]$") |"\
"⚡$bat"\
"Dsk: $(df -h | grep '/$' | awk '{print $4"/"$2}') |"\
- "$(date +"%Y-%m-%d %H:%M:%S") "\
- "$(printf "% $((WIDTH/20+1))s")"
+ "$(date +"%Y-%m-%d %H:%M:%S") "
+# "$(printf "% $((WIDTH/20+1))s")"
#!/bin/bash
#To fix java applications in tiling (e.g. arduino)
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 &
+
+# 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"
unset f
fi
+# status bar
while true; do xsetroot -name "$(bar)"; sleep 1m; done &
+
+# wm
while true; do dwm 1>/tmp/dwm.log 2>&1; done