commit 6e5fdb3e5c100848347e15375776e8325debff83
parent 3f6b0c4934f2276e14652c711d7bea16b42f6904
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Sun, 16 May 2021 14:23:51 +0200
Various updates
Diffstat:
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/.config/xinitrc b/.config/xinitrc
@@ -5,9 +5,9 @@ xautolock -detectsleep -corners 0-00 -time 5 \
-locker "slock" \
-notify 30 \
-notifier "notify-send -u critical -t 10000 'Locking screen in 30 seconds'" &
-pulseaudio --start --exit-idle-time=-1
+# pulseaudio --start --exit-idle-time=-1
dunst &
-setxkbmap -option 'caps:super' & # use caps as super
+setxkbmap -option 'caps:super' us altgr-intl & # use caps as super
xcape -e 'Super_L=Escape' & # tap caps for escape (hold down for super)
xsetroot -name " $(date +"%a %d %b, %H:%M")" &
dwmblocks &
diff --git a/.config/zsh/aliases b/.config/zsh/aliases
@@ -74,7 +74,7 @@ unite-pdf() {
restart-wifi-daemon() {
while true; do
curl -Is http://oscarbenedito.com > /dev/null || \
- { printf "Restarting wifi..."; nmcli radio wifi off; sleep 5; nmcli radio wifi on; printf " done\n"; }
+ { printf "Restarting wifi..."; nmcli radio wifi off; sleep 1; nmcli radio wifi on; printf " done\n"; }
sleep 30
done
}
diff --git a/.local/bin/wallabag-to-ebook b/.local/bin/wallabag-to-ebook
@@ -4,9 +4,7 @@ domain=""
phpsessid=""
rememberme=""
ebookpath=""
-uuid="" # ebook UUID
-notify-send -u critical "Wallabag" "Script variables are not set."
-exit 1
+uuid="" # ebook UUID
override_notify() {
sub="$1"