From f8b074a9a0323c9a833edcfd653f7bb96625a900 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 28 Feb 2023 19:13:07 -0300 Subject: Use `hostname` to pick xmobar config --- etc/xmobar/usurpador | 24 ++++++++++++++++++++++++ etc/xmobar/velhinho | 24 ++++++++++++++++++++++++ etc/xmobar/xmobarrc | 24 ------------------------ 3 files changed, 48 insertions(+), 24 deletions(-) create mode 100644 etc/xmobar/usurpador create mode 100644 etc/xmobar/velhinho delete mode 100644 etc/xmobar/xmobarrc (limited to 'etc/xmobar') diff --git a/etc/xmobar/usurpador b/etc/xmobar/usurpador new file mode 100644 index 0000000..0cde0d6 --- /dev/null +++ b/etc/xmobar/usurpador @@ -0,0 +1,24 @@ +Config { + font = "xft:11" + , commands = [ + Run Cpu ["-L","3","-H","50", "--normal","#5ea2a4","--high","red"] 10 + , Run Memory ["-t", "Mem: %"] 30 + , Run Swap [] 30 + , Run Date "%A, %Y-%m-%d %H:%M:%S" "date" 10 + , Run DiskU [("/", " ()")] [] 600 + , Run Wireless "wlp0s20f3" [] 100 + , Run Volume "default" "Master" [] 10 + , Run Battery [ + "-t", ": % - ", + "--", + "-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% } { %wlp0s20f3wi% | %cpu% | %battery% | %disku% | %memory% * %swap% | %date% " +} 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: %"] 30 + , Run Swap [] 30 + , Run Date "%A, %Y-%m-%d %H:%M:%S" "date" 10 + , Run DiskU [("/", " ()")] [] 600 + , Run Wireless "wlp1s0" [] 100 + , Run Volume "default" "Master" [] 10 + , Run Battery [ + "-t", ": % - ", + "--", + "-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% | %date% " +} diff --git a/etc/xmobar/xmobarrc b/etc/xmobar/xmobarrc deleted file mode 100644 index 0cde0d6..0000000 --- a/etc/xmobar/xmobarrc +++ /dev/null @@ -1,24 +0,0 @@ -Config { - font = "xft:11" - , commands = [ - Run Cpu ["-L","3","-H","50", "--normal","#5ea2a4","--high","red"] 10 - , Run Memory ["-t", "Mem: %"] 30 - , Run Swap [] 30 - , Run Date "%A, %Y-%m-%d %H:%M:%S" "date" 10 - , Run DiskU [("/", " ()")] [] 600 - , Run Wireless "wlp0s20f3" [] 100 - , Run Volume "default" "Master" [] 10 - , Run Battery [ - "-t", ": % - ", - "--", - "-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% } { %wlp0s20f3wi% | %cpu% | %battery% | %disku% | %memory% * %swap% | %date% " -} -- cgit v1.2.3