Add service for light theme

This commit is contained in:
2024-05-05 15:29:55 +02:00
parent 58c40f69d9
commit b0bc54840d
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[Unit]
After=windowmanager.target
[Service]
Type=oneshot
ExecStart=/usr/bin/env switch-color-mode light
ExecStop=/usr/bin/env switch-color-mode dark
RemainAfterExit=true
PassEnvironment=DISPLAY