Compare commits

...

2 Commits

6 changed files with 30 additions and 14 deletions

View File

@ -1,10 +1,10 @@
# ~/.config/darkman/config.yaml
# Kotka
lat: 60.4
lng: 26.9
#lat: 60.45
#lng: 26.94
# Helsinki
#lat: 60.1
#lng: 24.8
#lat: 60.16
#lng: 24.87
usegeoclue: true
dbusserver: true
portal: true

View File

@ -1,2 +1,2 @@
exec --no-startup-id wlsunset -l 60.46742 -L 26.94508 -t 1000
exec --no-startup-id env DARKMAN_LAT=60.46742 DARKMAN_LNG=26.94508 darkman run
exec --no-startup-id wlsunset -l 60.46-L 26.94 -t 1000
exec --no-startup-id DARKMAN_LAT=60.46 DARKMAN_LNG=26.94 darkman run

View File

@ -1,2 +1,2 @@
exec --no-startup-id wlsunset -l 60.15937 -L 24.87530 -t 1000
exec --no-startup-id env DARKMAN_LAT=60.15937 DARKMAN_LNG=24.87530 darkman run
exec --no-startup-id wlsunset -l 60.15 -L 24.87 -t 1000
exec --no-startup-id env DARKMAN_LAT=60.15 DARKMAN_LNG=24.87 darkman run

19
etc/geolocation Normal file
View File

@ -0,0 +1,19 @@
# Geoclue static location (man geoclue)
# Remember https://wiki.openstreetmap.org/wiki/Precision_of_coordinates
# and https://m.xkcd.com/2170/ !
# Kotka
60.45 # Latitude (positive values mean north, negative south)
26.94 # Longitude (positive values mean east, negative west)
0 # Altitude
2000 # Accuracy radius in metres
# Lauttasaari
#60.16 #Latitude (positive values mean north, negative south)
#24.87 # Longitude (positive values mean east, negative west)
#0 # Altitude
#2000 # Accuracy radius in metres
# For extra security:
# sudo chown geoclue /etc/geolocation
# sudo chmod 600 /etc/geolocation

View File

@ -1,8 +1,5 @@
[Desktop Entry]
Type=Application
# Helsinki
#Exec=env DARKMAN_LAT=60.1 DARKMAN_LNG=24.8 darkman run
# Kotka
Exec=env DARKMAN_LAT=60.4 DARKMAN_LNG=26.9 darkman run
Exec=darkman run
Name=darkman
Icon=darkman

View File

@ -1,8 +1,8 @@
[Desktop Entry]
Type=Application
# Kotka
Exec=wlsunset -l 60.4 -L 26.9 -t 1000
Exec=wlsunset -l 60.45 -L 26.94 -t 1000
# Helsinki
#Exec=wlsunset -l 60.1 -L 29.6 -t 1000
#Exec=wlsunset -l 60.16 -L 24.87 -t 1000
Name=wlsunset
Icon=wlsunset