Use relative home paths
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 17 Oct 2021 14:18:52 +0000 (10:18 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 17 Oct 2021 14:21:41 +0000 (10:21 -0400)
home/.xbindkeysrc
home/bin/mypeetables

index 2ee1024..a3ce4c6 100644 (file)
 # ----------
 # 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
 
 # -------------------
index 52636b1..a0fd23c 100755 (executable)
@@ -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"
 
This page took 0.032194 seconds and 4 git commands to generate.