diff --git a/.config/i3/status.toml b/.config/i3/status-double-bat.toml similarity index 100% rename from .config/i3/status.toml rename to .config/i3/status-double-bat.toml diff --git a/.config/i3/status-single-bat.toml b/.config/i3/status-single-bat.toml new file mode 100644 index 00000000..6677e323 --- /dev/null +++ b/.config/i3/status-single-bat.toml @@ -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" + diff --git a/nixos/home-other-os.nix b/nixos/home-other-os.nix index fb7c9aea..a36c4996 100644 --- a/nixos/home-other-os.nix +++ b/nixos/home-other-os.nix @@ -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 diff --git a/nixos/i3/home.nix b/nixos/i3/home.nix index 7da32cf2..65d357f3 100644 --- a/nixos/i3/home.nix +++ b/nixos/i3/home.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; }; diff --git a/nixos/i3/i3.nix b/nixos/i3/i3.nix index ab1b8ef8..551aae68 100644 --- a/nixos/i3/i3.nix +++ b/nixos/i3/i3.nix @@ -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;