split single and double bat status bar config
This commit is contained in:
parent
df9d70b09b
commit
0bf816ab79
5 changed files with 48 additions and 1 deletions
46
.config/i3/status-single-bat.toml
Normal file
46
.config/i3/status-single-bat.toml
Normal file
|
@ -0,0 +1,46 @@
|
|||
theme = "solarized-dark"
|
||||
|
||||
[icons]
|
||||
name = "awesome"
|
||||
[icons.overrides]
|
||||
memory_mem = " "
|
||||
cogs = " "
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 60
|
||||
format = "%R %a %d.%m"
|
||||
|
||||
[[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"
|
||||
|
|
@ -21,6 +21,7 @@ in
|
|||
news.display = "show";
|
||||
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 = [
|
||||
./programs/tmux.nix
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
services.redshift.enable = true;
|
||||
services.redshift.provider = "geoclue2";
|
||||
|
||||
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-double-bat.toml;
|
||||
xsession = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
@ -8,7 +8,6 @@ in
|
|||
i3status-rust
|
||||
];
|
||||
|
||||
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status.toml;
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
package = pkgs.i3-gaps;
|
||||
|
|
Loading…
Reference in a new issue