Fix night mode signal handling.
Now the script works on both FreeBSD and Linux, and it exits properly so switching between docked and undocked doesn't cause problems for waybar.
This commit is contained in:
@@ -48,6 +48,6 @@
|
||||
"exec": "waybar_night_mode",
|
||||
"return-type": "json",
|
||||
"restart-interval": 30,
|
||||
"on-click": "pkill --signal USR1 -f waybar_night_mode"
|
||||
"on-click": "pkill -USR1 -f waybar_night_mode"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user