mirror of
https://github.com/kmein/niveum
synced 2026-03-20 03:51:07 +01:00
fix(i3): use theme colours for i3status-rust
This commit is contained in:
@@ -64,6 +64,7 @@ in with config.niveum; {
|
|||||||
statusCommand = "${pkgs.unstable.i3status-rust}/bin/i3status-rs ${pkgs.writeText "i3status-rust.toml" (
|
statusCommand = "${pkgs.unstable.i3status-rust}/bin/i3status-rs ${pkgs.writeText "i3status-rust.toml" (
|
||||||
import <dot/i3status-rust.nix> {
|
import <dot/i3status-rust.nix> {
|
||||||
wifi-interface = networkInterfaces.wireless;
|
wifi-interface = networkInterfaces.wireless;
|
||||||
|
inherit (config.niveum) colours;
|
||||||
}
|
}
|
||||||
)}";
|
)}";
|
||||||
}];
|
}];
|
||||||
|
|||||||
@@ -1,8 +1,22 @@
|
|||||||
{ wifi-interface }: ''
|
{ wifi-interface, colours }: ''
|
||||||
[theme]
|
[theme]
|
||||||
name = "plain"
|
name = "plain"
|
||||||
[theme.overrides]
|
[theme.overrides]
|
||||||
separator = " "
|
separator = " "
|
||||||
|
critical_fg = "${colours.red.bright}"
|
||||||
|
good_fg = "${colours.green.bright}"
|
||||||
|
idle_fg = "${colours.foreground}"
|
||||||
|
info_fg = "${colours.foreground}"
|
||||||
|
separator_fg = "auto"
|
||||||
|
warning_fg = "${colours.yellow.bright}"
|
||||||
|
alternating_tint_bg = "${colours.background}"
|
||||||
|
alternating_tint_fg = "${colours.background}"
|
||||||
|
critical_bg = "${colours.background}"
|
||||||
|
good_bg = "${colours.background}"
|
||||||
|
idle_bg = "${colours.background}"
|
||||||
|
info_bg = "${colours.background}"
|
||||||
|
separator_bg = "auto"
|
||||||
|
warning_bg = "${colours.background}"
|
||||||
|
|
||||||
[icons]
|
[icons]
|
||||||
name = "none"
|
name = "none"
|
||||||
|
|||||||
Reference in New Issue
Block a user