refactor to single bar definition block for different machines
This commit is contained in:
parent
f8787d0aef
commit
720fc3f3d3
6 changed files with 2 additions and 61 deletions
|
@ -19,7 +19,7 @@ interval = 600
|
|||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 5
|
||||
format = "{utilization}% {frequency}GHz"
|
||||
format = "{utilization}% {frequency}"
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
|
@ -45,9 +45,6 @@ alert = 10.0
|
|||
[[block]]
|
||||
block = "sound"
|
||||
|
||||
[[block]]
|
||||
block = "backlight"
|
||||
|
||||
[[block]]
|
||||
block = "kdeconnect"
|
||||
format = "{name}"
|
|
@ -1,51 +0,0 @@
|
|||
theme = "solarized-dark"
|
||||
|
||||
[icons]
|
||||
name = "awesome"
|
||||
[icons.overrides]
|
||||
memory_mem = " "
|
||||
cogs = " "
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 60
|
||||
format = "%R %a %d.%m"
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 5
|
||||
format = "{utilization}% {frequency}GHz"
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
display_type = "memory"
|
||||
format_mem = "{Mup}%"
|
||||
format_swap = "{SUp}%"
|
||||
|
||||
[[block]]
|
||||
block = "load"
|
||||
interval = 5
|
||||
format = "{1m} {5m}"
|
||||
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/"
|
||||
alias = ""
|
||||
info_type = "available"
|
||||
unit = "GiB"
|
||||
interval = 20
|
||||
warning = 20.0
|
||||
alert = 10.0
|
||||
|
||||
[[block]]
|
||||
block = "battery"
|
||||
device = "BAT0"
|
||||
interval = 10
|
||||
format = "{percentage}%"
|
||||
|
||||
[[block]]
|
||||
block = "temperature"
|
||||
collapsed = true
|
||||
interval = 10
|
||||
format = "{max}° max, {average}° avg"
|
||||
|
|
@ -38,8 +38,6 @@
|
|||
|
||||
nixpkgs.overlays = config.nixpkgs.overlays;
|
||||
nixpkgs.config = config.nixpkgs.config;
|
||||
|
||||
home.file.".config/i3/status.toml".source = ../../../.config/i3/status-double-bat.toml;
|
||||
};
|
||||
fonts.fontconfig.enable = true;
|
||||
programs.steam.enable = true;
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
|
||||
nixpkgs.overlays = config.nixpkgs.overlays;
|
||||
nixpkgs.config = config.nixpkgs.config;
|
||||
|
||||
home.file.".config/i3/status.toml".source = ../../../.config/i3/status-single-bat.toml;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -20,7 +20,6 @@ in
|
|||
|
||||
targets.genericLinux.enable = true;
|
||||
home.file.".gitconfig".source = ~/dev/dotfiles/.gitconfig.linux.form3;
|
||||
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-single-bat.toml;
|
||||
|
||||
imports = [
|
||||
./home-manager/default.nix
|
||||
|
|
|
@ -32,7 +32,7 @@ in
|
|||
position = "top";
|
||||
colors.background = "#002b36";
|
||||
fonts = [ "Fira Code Nerd Font 10" ];
|
||||
statusCommand = "${pkgs.unstable.i3status-rust}/bin/i3status-rs ${config.xdg.configHome}/i3/status.toml";
|
||||
statusCommand = "${pkgs.unstable.i3status-rust}/bin/i3status-rs $HOME/dev/dotfiles/.config/i3/i3-status.toml";
|
||||
trayOutput = "primary";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue