Skip to content

Instantly share code, notes, and snippets.

@lightdiscord
Last active February 9, 2020 17:27
Show Gist options
  • Select an option

  • Save lightdiscord/a7aff58fd167ed2a584b29691c1d9f9a to your computer and use it in GitHub Desktop.

Select an option

Save lightdiscord/a7aff58fd167ed2a584b29691c1d9f9a to your computer and use it in GitHub Desktop.
i3status configuration
general {
output_format = "i3bar"
colors = true
interval = 5
}
order += "wireless _first_"
order += "ethernet _first_"
order += "battery 0"
order += "tztime local"
wireless _first_ {
format_up = "W: %ip (%quality at %essid, %bitrate)"
format_down = "W: down"
}
ethernet _first_ {
format_up = "E: %ip (%interface)"
format_down = "E: down"
}
battery 0 {
format = "%status %percentage %remaining %emptytime"
format_down = "No battery"
status_chr = "⚡ CHR"
status_bat = "🔋 BAT"
status_unk = "? UNK"
status_full = "☻ FULL"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
{
packages = import ./packages.nix;
files = import ./files.nix;
}
{
".config/i3status/config" = ./config;
}
{ i3status }@packages:
builtins.attrValues packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment