Initial Commit
This commit is contained in:
6
.config/sway/scripts/light.sh
Executable file
6
.config/sway/scripts/light.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
# install wlsunset
|
||||
CONTENT=$(curl -s https://freegeoip.app/json/)
|
||||
longitude=$(echo $CONTENT | jq .longitude)
|
||||
latitude=$(echo $CONTENT | jq .latitude)
|
||||
wlsunset -l $latitude -L $longitude
|
||||
Reference in New Issue
Block a user