Tint the screen at night.

This commit is contained in:
Tom Alexander
2024-07-21 21:48:48 -04:00
parent 3a63d4d307
commit 621625d831
12 changed files with 132 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
{
// "height": 10, // Waybar height (to be removed for auto height)
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["custom/temperature", "custom/sound", "custom/available_memory", "custom/battery", "idle_inhibitor", "custom/clock", "tray"],
"modules-right": ["custom/night_mode", "custom/temperature", "custom/sound", "custom/available_memory", "custom/battery", "idle_inhibitor", "custom/clock", "tray"],
"sway/workspaces": {
"disable-scroll": true
},
@@ -12,7 +12,7 @@
"format": "{icon}",
"format-icons": {
"activated": "☕",//☕
"deactivated": ""//☾☁⛾⛔⏾⌛⏳
"deactivated": "💤"//☾☁⛾⛔⏾⌛⏳💤
}
},
"tray": {
@@ -43,5 +43,11 @@
"exec": "waybar_custom_temperature",
"return-type": "json",
"restart-interval": 30
},
"custom/night_mode": {
"exec": "waybar_night_mode",
"return-type": "json",
"restart-interval": 30,
"on-click": "pkill --signal USR1 -f waybar_night_mode"
}
}