@@ -0,0 +1,12 @@
+#!/bin/sh
+# dwm autostart script
+
+wal -R
+setxkbmap -layout se
+pkill compton; compton &
+pkill sxhkd; sxhkd &
+pkill dwm_status.sh; ~/.scripts/dwm_status.sh &
+discord &
+pgrep redshift-gtk || redshift-gtk &
+pgrep ckb-next || ckb-next -b &
@@ -0,0 +1,10 @@
+while true; do
+ MEM="$(free -h | awk '(NR==2){ print $3 }')"
+ VOL="$(amixer get Master | awk -F'[][]' 'END{ print $4":"$2 }')"
+ TEMP="$(sensors | awk '/Package/{print $4}')"
+ DATE="$(date)"
+ xsetroot -name " $VOL | $MEM | $TEMP | $DATE"
+ sleep 5
+done
@@ -1,9 +1,9 @@
#!/bin/sh
-maim -us screenshot.png
+maim -us ~/screenshot.png
UUID=$(uuidgen)
UUID="${UUID[*]:0:5}"
-scp screenshot.png "frans@tankernn.eu:/srv/www/scr/$UUID.png"
+scp ~/screenshot.png "frans@tankernn.eu:/srv/www/scr/$UUID.png"
echo "http://scr.tankernn.eu/$UUID.png" | xsel --clipboard