diff options
Diffstat (limited to 'i3status/.config')
-rw-r--r-- | i3status/.config/i3status/config | 32 | ||||
-rw-r--r-- | i3status/.config/systemd/user/weather.service | 3 | ||||
-rw-r--r-- | i3status/.config/systemd/user/weather.timer | 6 |
3 files changed, 41 insertions, 0 deletions
diff --git a/i3status/.config/i3status/config b/i3status/.config/i3status/config new file mode 100644 index 0000000..e7ff076 --- /dev/null +++ b/i3status/.config/i3status/config @@ -0,0 +1,32 @@ +general { + output_format = i3bar + interval = 1 +} + +order += "cpu_usage" +order += "wireless wlan0" +order += "battery 0" +order += "time" +order += "load" + +cpu_usage { + format = "CPU: %usage" +} + +wireless wlan0 { + format_up = "wlan0: (%essid: %quality)" + format_down = "wlan0" +} + +battery 0 { + last_full_capacity = true + format = "%status %percentage (%remaining %consumption)" +} + +time { + format = "%a %b %d %H:%M:%S" +} + +load { + format = "%1min" +} diff --git a/i3status/.config/systemd/user/weather.service b/i3status/.config/systemd/user/weather.service new file mode 100644 index 0000000..b980952 --- /dev/null +++ b/i3status/.config/systemd/user/weather.service @@ -0,0 +1,3 @@ +[Service] +Type=oneshot +ExecStart=%h/.bin/update-weather diff --git a/i3status/.config/systemd/user/weather.timer b/i3status/.config/systemd/user/weather.timer new file mode 100644 index 0000000..b90e4bf --- /dev/null +++ b/i3status/.config/systemd/user/weather.timer @@ -0,0 +1,6 @@ +[Timer] +OnStartupSec=0 +OnUnitActiveSec=900 + +[Install] +WantedBy=timers.target |