Test
This commit is contained in:
parent
a4d10d8ce3
commit
453383440d
1 changed files with 5 additions and 1 deletions
|
@ -35,11 +35,15 @@
|
|||
tailscale-systray
|
||||
];
|
||||
|
||||
# Schedule cronjobs for changing the theme
|
||||
services.cron = {
|
||||
enable = true;
|
||||
systemCronJobs = [
|
||||
# Set the 'at' jobs for changing the theme
|
||||
''0 12 * * * albert curl -s wttr.in?format=j1 > /tmp/wttr.in''
|
||||
''0 * * * * albert sleep 10; echo "plasma-apply-colorscheme -platform offscreen Arc" | at `fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`''
|
||||
''0 * * * * albert sleep 10; echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at `fx /tmp/wttr.in .weather[0].astronomy[0].sunset` ''
|
||||
# At reboot as well
|
||||
''@reboot albert curl -s wttr.in?format=j1 > /tmp/wttr.in''
|
||||
''@reboot albert sleep 10; echo "plasma-apply-colorscheme -platform offscreen Arc" | at `fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`''
|
||||
''@reboot albert sleep 10; echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at `fx /tmp/wttr.in .weather[0].astronomy[0].sunset` ''
|
||||
|
|
Loading…
Reference in a new issue