vdotfiles

Cem's Dotfiles for Void Linux
git clone git://git.ckyln.com/vdotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 2ddd209dbc36f06fb6396968e160689c73ee1ff4
parent 9b9b7bcde35053a36e13e592dc54bdf24ece74ba
Author: Cem Keylan <cem@ckyln.com>
Date:   Mon, 14 Oct 2019 12:09:58 +0300

add a config file instead of changing from script itself

Diffstat:
M.local/bin/checksunset | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.local/bin/checksunset b/.local/bin/checksunset @@ -1,8 +1,7 @@ #!/bin/sh -LAT=40.010787 -LON=33.046875 - +! [ -e $HOME/.config/sunsetrc ] && printf "LAT=\nLON=\n" > $HOME/.config/sunsetrc +. $HOME/.config/sunsetrc error() {\ echo "Error: $1"