From 2074289024c8d5394a2a5e084e844e52946d0c1a Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 29 Mar 2016 16:44:18 +0200 Subject: Added i3 stuff --- system/i3status.conf.symlink | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 system/i3status.conf.symlink (limited to 'system/i3status.conf.symlink') diff --git a/system/i3status.conf.symlink b/system/i3status.conf.symlink new file mode 100644 index 0000000..c011019 --- /dev/null +++ b/system/i3status.conf.symlink @@ -0,0 +1,45 @@ +general { + colors = true + interval = 5 +} + +order += "cmd nowplaying" +order += "volume master" +order += "wireless wlan0" +order += "battery 0" +order += "cpu_usage" +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\\) ' | cut -d' ' -f 3- | tr '\\n' '\t' | awk 'BEGIN { FS = \"\\t\" } ; { print \"♪: \" $3 \" (\" $2 \", \" $1 \")\" }'; echo -n ' '" +} + +wireless wlan0 { + format_up = "%essid: %quality, %bitrate (%ip)" + format_down = "wlan0 down" +} + +battery 0 { + format = "%status %percentage %remaining %emptytime" + status_chr = "⚇" + status_bat = "⚡" + status_full = "☻" + low_threshold = 20 +} + +cpu_usage { + format = "⚙️ %usage" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} + -- cgit v1.2.3