From: Siraaj Khandkar Date: Sun, 17 Oct 2021 14:18:52 +0000 (-0400) Subject: Use relative home paths X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=41a64b8be0643ebf0ac336659ba529badb0ab6f0;p=khome.git Use relative home paths --- diff --git a/home/.xbindkeysrc b/home/.xbindkeysrc index 2ee1024..a3ce4c6 100644 --- a/home/.xbindkeysrc +++ b/home/.xbindkeysrc @@ -16,19 +16,19 @@ # ---------- # Backlight # ---------- -"sudo /home/siraaj/bin/backlight_adjust +5" +"sudo ~/bin/backlight_adjust +5" XF86MonBrightnessUp -"sudo /home/siraaj/bin/backlight_adjust +1" +"sudo ~/bin/backlight_adjust +1" shift + XF86MonBrightnessUp -"sudo /home/siraaj/bin/backlight_adjust -5" +"sudo ~/bin/backlight_adjust -5" XF86MonBrightnessDown -"sudo /home/siraaj/bin/backlight_adjust -1" +"sudo ~/bin/backlight_adjust -1" shift + XF86MonBrightnessDown # Workaround: XF86MonBrightness(Up|Down) keys stopped working on Librem 15v4 :( -"sudo /home/siraaj/bin/backlight_adjust +5" +"sudo ~/bin/backlight_adjust +5" shift+XF86AudioRaiseVolume -"sudo /home/siraaj/bin/backlight_adjust -5" +"sudo ~/bin/backlight_adjust -5" shift+XF86AudioLowerVolume # ------------------- diff --git a/home/bin/mypeetables b/home/bin/mypeetables index 52636b1..a0fd23c 100755 --- a/home/bin/mypeetables +++ b/home/bin/mypeetables @@ -4,7 +4,7 @@ set -e PATH="/sbin:$PATH" -DIR_CFG="/home/siraaj/etc/mypeetables" +DIR_CFG="$HOME/etc/mypeetables" FILE_HOSTS_BLACKLIST="$DIR_CFG/hosts_blacklist" FILE_PORTS_OPEN="$DIR_CFG/ports_open"