From 5429c908c81c4a2fa1516cd3b9e4886cd0630d65 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 22 Feb 2025 06:29:58 +0100 Subject: [PATCH 1/5] zathura: hide bottom bar --- .config/zathura/zathurarc | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc index 30c49b3..5445854 100644 --- a/.config/zathura/zathurarc +++ b/.config/zathura/zathurarc @@ -1,5 +1,6 @@ set statusbar-h-padding 0 set statusbar-v-padding 0 +set guioptions none set page-padding 1 map u scroll full-up map d scroll full-down From d447b87ac1bc3b1bf68eaaf03275307ffb532875 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 22 Feb 2025 06:40:03 +0100 Subject: [PATCH 2/5] sxhkd: added hibernation hotkey --- .config/sxhkd/sxhkdrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 0f8322f..0e64a14 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -64,6 +64,8 @@ super + F9 sudo -A systemctl restart NetworkManager ; notify-send -u low 'Network' 'Restartet NM' super + F10 prompt "Lock computer?" "slock" +super + shift + F10 + prompt "Hibernate computer?" "systemctl hibernate" super + F11 prompt "Shutdown computer?" "sudo -A shutdown -h now" super + F12 From 73168a2db46642cd9ed2999fc88dd8d1fa1db747 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 22 Feb 2025 06:42:48 +0100 Subject: [PATCH 3/5] statusbar: improved battery script to notify with more information --- .local/bin/etc/statusbar/battery | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/etc/statusbar/battery b/.local/bin/etc/statusbar/battery index cbc6334..6f62527 100755 --- a/.local/bin/etc/statusbar/battery +++ b/.local/bin/etc/statusbar/battery @@ -12,8 +12,8 @@ total=$(echo $acpi | sed 's/.*:\ //') status="$(echo $total | cut -d',' -f1)" capacity="$(echo $total | cut -d',' -f2 | sed 's/%//')" -if [ "$status" = "Discharging" ] && [ $capacity -le 15 ] ; then - notify-send -u critical "Battery" "Below 15%" +if [ "$status" = "Discharging" ] && [ $capacity -le 20 ] ; then + notify-send -u critical "Battery" "Low capacity: $capacity%" fi if [ $capacity -gt 40 ] From 35a698dd20c0329a7bafb17c4ae298e3826fdf89 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 22 Feb 2025 06:44:46 +0100 Subject: [PATCH 4/5] xorg: enable automatically locking on sleep --- .config/xorg/xprofile | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/xorg/xprofile b/.config/xorg/xprofile index bd8926c..baba320 100644 --- a/.config/xorg/xprofile +++ b/.config/xorg/xprofile @@ -10,4 +10,5 @@ sxhkd & # for shortcuts (sleep 10 ; pkill -RTMIN+4 $STATUSBAR) & # reload volume section of statusbar dunstctl rule dnd_low disable & # disable dnd for low urgencies dunstctl rule dnd_normal disable & # disable dnd for normal urgencies +xss-lock -- slock & # enable locking the screen upon sleep easyeffects --gapplication-service & # start audio server From a6547fe26cbf43feb6b442dde136f8b9a2246be0 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 22 Feb 2025 07:01:12 +0100 Subject: [PATCH 5/5] default program: zen is now default browser --- .config/vifm/vifmrc | 4 ++-- .local/share/applications/browser.desktop | 2 +- .profile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index 7033429..c524beb 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -248,8 +248,8 @@ fileviewer