1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 03:21:10 +01:00

feat(i3 status rust)

This commit is contained in:
Kierán Meinhardt
2020-01-24 10:09:04 +01:00
parent 10874028f3
commit d7aca4feb6
2 changed files with 9 additions and 29 deletions

View File

@@ -49,7 +49,7 @@ in with config.niveum; {
}; };
bars = [{ bars = [{
workspaceButtons = false; workspaceButtons = false;
fonts = [ "Monospace ${toString config.niveum.fonts.size}" ]; fonts = [ "Sans ${toString config.niveum.fonts.size}" ];
mode = "hide"; mode = "hide";
colors = rec { colors = rec {
background = colours.background; background = colours.background;

View File

@@ -3,12 +3,10 @@
theme = { theme = {
name = "plain"; name = "plain";
overrides = { overrides = {
separator = " ";
critical_fg = colours.red.bright; critical_fg = colours.red.bright;
good_fg = colours.green.bright; good_fg = colours.green.bright;
idle_fg = colours.foreground; idle_fg = colours.foreground;
info_fg = colours.foreground; info_fg = colours.foreground;
separator_fg = "auto";
warning_fg = colours.yellow.bright; warning_fg = colours.yellow.bright;
alternating_tint_bg = colours.background; alternating_tint_bg = colours.background;
alternating_tint_fg = colours.background; alternating_tint_fg = colours.background;
@@ -16,31 +14,10 @@
good_bg = colours.background; good_bg = colours.background;
idle_bg = colours.background; idle_bg = colours.background;
info_bg = colours.background; info_bg = colours.background;
separator_bg = "auto";
warning_bg = colours.background; warning_bg = colours.background;
}; };
}; };
icons = { icons.name = "awesome";
name = "none";
overrides = {
music = " ";
music_play = "";
music_next = "";
music_prev = "";
volume_full = " ";
volume_half = " ";
volume_empty = " ";
bat = " ";
bat_full = " ";
bat_charging = " ";
bat_discharging = " ";
memory_mem = "";
separator = "";
net_wireless = "";
cogs = "";
time = "";
};
};
block = [ block = [
{ {
block = "music"; block = "music";
@@ -48,14 +25,15 @@
buttons = ["prev" "play" "next"]; buttons = ["prev" "play" "next"];
marquee = false; marquee = false;
max_width = 35; max_width = 35;
on_collapsed_click = "spotify";
} }
{ {
block = "net"; block = "net";
device = wifi-interface; device = wifi-interface;
ssid = true;
interval = 1;
speed_up = false; speed_up = false;
speed_down = false; speed_down = false;
signal_strength = true;
ssid = true;
} }
{ {
block = "battery"; block = "battery";
@@ -64,6 +42,10 @@
} }
{ {
block = "sound"; block = "sound";
on_click = "pavucontrol";
}
{
block = "disk_space";
} }
{ {
block = "memory"; block = "memory";
@@ -73,8 +55,6 @@
} }
{ {
block = "load"; block = "load";
interval = 1;
format = "{1m}";
} }
{ {
block = "time"; block = "time";