aboutsummaryrefslogtreecommitdiff
path: root/i3/.i3status.conf
diff options
context:
space:
mode:
Diffstat (limited to 'i3/.i3status.conf')
-rw-r--r--i3/.i3status.conf53
1 files changed, 53 insertions, 0 deletions
diff --git a/i3/.i3status.conf b/i3/.i3status.conf
new file mode 100644
index 0000000..67710fb
--- /dev/null
+++ b/i3/.i3status.conf
@@ -0,0 +1,53 @@
+general {
+ colors = true
+ interval = 5
+ output_format = "i3bar"
+}
+
+order += "cmd nowplaying"
+order += "volume master"
+order += "wireless wlan0"
+order += "battery 0"
+order += "cpu_usage"
+order += "load"
+order += "tztime local"
+
+volume master {
+ format = "♪: %volume"
+ format_muted = "♪: muted (%volume)"
+ device = "default"
+ mixer = "Master"
+ mixer_idx = 0
+}
+
+cmd nowplaying {
+ cmd = "cmus-remote -Q | grep '^tag \\(artist\\|album\\|title\\) ' | sort | cut -d' ' -f 3- | tr '\\n' '\t' | awk 'BEGIN { FS = \"\\t\" } ; { print \"♪: \" $3 \" (\" $1 \", \" $2 \")\" }'; echo -n ' '"
+}
+
+wireless wlan0 {
+ format_up = "%essid: %quality, %bitrate (%ip)"
+ format_down = "wlan0 down"
+}
+
+battery 0 {
+ format = "%status %percentage %remaining %consumption"
+ hide_seconds = true
+ status_chr = "⚇"
+ status_bat = "⚡"
+ status_full = "☻"
+ low_threshold = 30
+ threshold_type = "percentage"
+}
+
+cpu_usage {
+ format = "⚙️ %usage"
+}
+
+load {
+ max_threshold = "0.7"
+}
+
+tztime local {
+ format = "%a %b %-d, %I:%M %p"
+}
+