add wl-gammerlay-rs config
This commit is contained in:
parent
924990cda8
commit
a4b64f16cc
2 changed files with 31 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
||||||
"memory",
|
"memory",
|
||||||
"temperature",
|
"temperature",
|
||||||
"backlight",
|
"backlight",
|
||||||
|
"custom/wl-gammarelay-temperature",
|
||||||
|
"custom/wl-gammarelay-brightness",
|
||||||
|
"custom/wl-gammarelay-gamma",
|
||||||
"keyboard-state",
|
"keyboard-state",
|
||||||
"sway/language",
|
"sway/language",
|
||||||
"battery",
|
"battery",
|
||||||
|
@ -210,5 +213,27 @@
|
||||||
"escape": true,
|
"escape": true,
|
||||||
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
|
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
|
||||||
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
|
||||||
|
},
|
||||||
|
"custom/wl-gammarelay-temperature": {
|
||||||
|
"format": "{} ",
|
||||||
|
"exec": "wl-gammarelay-rs watch {t}",
|
||||||
|
"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-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"
|
||||||
|
},
|
||||||
|
"custom/wl-gammarelay-brightness": {
|
||||||
|
"format": "{}% ",
|
||||||
|
"exec": "wl-gammarelay-rs watch {bp}",
|
||||||
|
"on-scroll-up": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateBrightness d +0.02",
|
||||||
|
"on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateBrightness d -0.02",
|
||||||
|
"on-click": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Brightness d 1"
|
||||||
|
},
|
||||||
|
"custom/wl-gammarelay-gamma": {
|
||||||
|
"format": "{}% γ",
|
||||||
|
"exec": "wl-gammarelay-rs watch {g}",
|
||||||
|
"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-click": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Gamma d 1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,6 +87,9 @@ button:hover {
|
||||||
#mode,
|
#mode,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#scratchpad,
|
#scratchpad,
|
||||||
|
#custom-wl-gammarelay-temperature,
|
||||||
|
#custom-wl-gammarelay-brightness,
|
||||||
|
#custom-wl-gammarelay-gamma,
|
||||||
#mpd {
|
#mpd {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -155,6 +158,9 @@ label:focus {
|
||||||
background-color: #964B00;
|
background-color: #964B00;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-wl-gammarelay-temperature,
|
||||||
|
#custom-wl-gammarelay-brightness,
|
||||||
|
#custom-wl-gammarelay-gamma,
|
||||||
#backlight {
|
#backlight {
|
||||||
background-color: #90b1b1;
|
background-color: #90b1b1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue