add night-mode

This commit is contained in:
Simon Rieger 2023-05-31 11:23:47 +02:00
parent da90e2477b
commit 8f65d1d7db

View file

@ -221,7 +221,7 @@
"on-scroll-up": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n +100", "on-scroll-up": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n +100",
"on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n -100", "on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n -100",
"on-click": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 6500", "on-click": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 6500",
"on-click-right": "busctl --user call rs.wl-gammarelay / rs.wl.gammarelay ToggleInverted" "on-click-right": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 4500"
}, },
"custom/wl-gammarelay-brightness": { "custom/wl-gammarelay-brightness": {
"format": "{}% ", "format": "{}% ",
@ -235,7 +235,8 @@
"exec": "wl-gammarelay-rs watch {g}", "exec": "wl-gammarelay-rs watch {g}",
"on-scroll-up": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateGamma d +0.02", "on-scroll-up": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateGamma d +0.02",
"on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateGamma d -0.02", "on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateGamma d -0.02",
"on-click": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Gamma d 1" "on-click": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Gamma d 1",
"on-click-right": "busctl --user call rs.wl-gammarelay / rs.wl.gammarelay ToggleInverted"
}, },
"custom/events": { "custom/events": {
"format": "{}", "format": "{}",