home: wm: i3bar: add gammastep block if enabled
This commit is contained in:
parent
3ec448bf03
commit
b32fec2c63
|
@ -14,7 +14,7 @@ in
|
||||||
|
|
||||||
bars = {
|
bars = {
|
||||||
top = {
|
top = {
|
||||||
blocks = [
|
blocks = builtins.filter (attr: attr != { }) [
|
||||||
{
|
{
|
||||||
block = "music";
|
block = "music";
|
||||||
buttons = [ "prev" "play" "next" ];
|
buttons = [ "prev" "play" "next" ];
|
||||||
|
@ -29,6 +29,12 @@ in
|
||||||
block = "net";
|
block = "net";
|
||||||
format = "{ssid} {ip} {signal_strength}";
|
format = "{ssid} {ip} {signal_strength}";
|
||||||
}
|
}
|
||||||
|
(lib.optionalAttrs (config.my.home.gammastep.enable) {
|
||||||
|
block = "hueshift";
|
||||||
|
hue_shifter = "gammastep";
|
||||||
|
step = 100;
|
||||||
|
click_temp = config.my.home.gammastep.temperature.day;
|
||||||
|
})
|
||||||
{
|
{
|
||||||
block = "battery";
|
block = "battery";
|
||||||
format = "{percentage}% ({time})";
|
format = "{percentage}% ({time})";
|
||||||
|
|
Loading…
Reference in a new issue