Tint the screen at night.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user