aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--etc/xmobar/usurpador (renamed from etc/xmobar/xmobarrc)0
-rw-r--r--etc/xmobar/velhinho24
3 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9036929..ebaf201 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ derived-assets = \
$(XDG_CONFIG_HOME)/ssh/id_rsa.pub \
$(XDG_CONFIG_HOME)/ssh/config \
$(XDG_CONFIG_HOME)/gnupg/gpg-agent.conf \
+ $(XDG_CONFIG_HOME)/xmobar/xmobarrc \
$(XDG_DATA_HOME)/common-lisp/source \
$(XDG_DATA_HOME)/euandreh/e.list.txt \
$(PRIV_STATEDIR)/postfix/relayhosts-maps.db \
@@ -53,6 +54,9 @@ $(XDG_CONFIG_HOME)/gnupg/gpg-agent.conf: $(XDG_CONFIG_HOME)/gnupg/gpg-agent.conf
printf 'pinentry-program ' >> $@
command -v pinentry-gtk-2 >> $@
+$(XDG_CONFIG_HOME)/xmobar/xmobarrc:
+ cd $(@D) && ln -s `hostname` xmobarrc
+
$(HOME)/.ssh:
ln -s $(XDG_CONFIG_HOME)/ssh $@
diff --git a/etc/xmobar/xmobarrc b/etc/xmobar/usurpador
index 0cde0d6..0cde0d6 100644
--- a/etc/xmobar/xmobarrc
+++ b/etc/xmobar/usurpador
diff --git a/etc/xmobar/velhinho b/etc/xmobar/velhinho
new file mode 100644
index 0000000..bfcfcf1
--- /dev/null
+++ b/etc/xmobar/velhinho
@@ -0,0 +1,24 @@
+Config {
+ font = "xft:9"
+ , commands = [
+ Run Cpu ["-L","3","-H","50", "--normal","#5ea2a4","--high","red"] 10
+ , Run Memory ["-t", "Mem: <usedratio>%"] 30
+ , Run Swap [] 30
+ , Run Date "%A, %Y-%m-%d %H:%M:%S" "date" 10
+ , Run DiskU [("/", "<free> (<size>)")] [] 600
+ , Run Wireless "wlp1s0" [] 100
+ , Run Volume "default" "Master" [] 10
+ , Run Battery [
+ "-t", "<acstatus>: <fc=#5ea2a4><left></fc>% - <timeleft>",
+ "--",
+ "-O", "AC",
+ "-i", "Full",
+ "-o", "Bat",
+ "-p", "orange",
+ "-h", "green",
+ "-l", "red"]
+ 10
+ , Run CommandReader "forever -q x sleep 1 AND player synopsis" "mpris"
+ ]
+ , template = " %default:Master%| %mpris% } { %wlp1s0wi% | %cpu% | %battery% | %disku% | %memory% * %swap% | <fc=#5ea2a4>%date%</fc> "
+}