diff --git a/borg/i3status-bakage.sh b/borg/i3status-bakage.sh new file mode 100755 index 0000000..7a884ee --- /dev/null +++ b/borg/i3status-bakage.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +i3status | while : +do + read line + echo "$(~/.borg/bakage.sh)d ★ ${line}" || exit 1 +done diff --git a/home.nix b/home.nix index a7f5d80..6ace998 100644 --- a/home.nix +++ b/home.nix @@ -178,11 +178,11 @@ }; colors.statusline = "#333333"; fonts = { - names = [ "Hack Nerd Font Mono" ]; - style = "Bold"; - size = 10.0; + names = [ "Ubuntu" ]; + style = "Regular"; + size = 13.0; }; - statusCommand = "i3status"; + statusCommand = "~/.borg/i3status-bakage.sh"; extraConfig = '' height 24 ''; @@ -220,7 +220,7 @@ # "XF86Launch1" = "exec ~/scripts/sunset.sh"; "${modifier}+Control+p" = "exec i3lock -n -c ef5ffc"; }; - menu = "dmenu_run"; + menu = "dmenu_run -sb \"#a15ffc\" -nf \"#333333\" -nb \"#ef5ffc\" -sf \"#333333\" -fn \"Ubuntu Bold-13\""; modifier = "Mod4"; window.titlebar = false; terminal = "alacritty"; @@ -245,13 +245,35 @@ enable = true; enableDefault = false; general = { - colors = false; + colors = true; interval = 5; + color_good = "#333333"; + color_degraded = "#333333"; + color_bad = "#333333"; + color_separator = "#a15ffc"; + separator = " ★ "; }; modules = { "volume master".position = 1; - "wireless wlp2s0".position = 2; - "battery 0".position = 3; + "wireless wlp2s0" = { + position = 2; + settings = { + format_up = "%essid %bitrate"; + format_down = "down"; + }; + }; + "battery 0" = { + position = 3; + settings = { + color_good = "#333333"; + color_degraded = "#d6cf19"; + color_bad = "#d6191f"; + format = "%status %percentage %remaining"; + status_chr = "C"; + status_bat = "B"; + status_full = "F"; + }; + }; "time" = { position = 4; settings = {