summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-03-03 23:26:25 +0000
committerjao <jao@gnu.org>2024-03-03 23:26:25 +0000
commitdfb16b5cf60194999c7441adbdaad2f9ff14673c (patch)
tree1b104a0a1b8eb942f798177f6c3898f91f580cd6
parent66255477a734272b571b1fab4597749ce81f2401 (diff)
downloadxmobar-config-dfb16b5cf60194999c7441adbdaad2f9ff14673c.tar.gz
xmobar-config-dfb16b5cf60194999c7441adbdaad2f9ff14673c.tar.bz2
little tweaks
-rw-r--r--src/Emacs.hs2
-rw-r--r--src/Single.hs4
-rw-r--r--src/Sway.hs10
-rw-r--r--xmobar-config.cabal4
4 files changed, 10 insertions, 10 deletions
diff --git a/src/Emacs.hs b/src/Emacs.hs
index 315c29e..7ef2d0b 100644
--- a/src/Emacs.hs
+++ b/src/Emacs.hs
@@ -100,7 +100,7 @@ config p = (baseConfig p) {
++ " |default:Master| 🎙️ |default:Capture|"
++ " |EGPH|"
++ " |elog|"
- ++ "{}"
+ ++ "{*}"
++ "|kbd|"
++ " |cpufreq|"
++ " |multicpu|"
diff --git a/src/Single.hs b/src/Single.hs
index 166ceec..891380b 100644
--- a/src/Single.hs
+++ b/src/Single.hs
@@ -60,11 +60,11 @@ config p = (baseConfig p) {
++ "</action>"
++ " |EGPH|"
++ mail
- ++ " |kbd|"
+ ++ " |kbd| "
++ eLog p
++ "{"
++ "}"
- ++ "|multicpu|"
+ -- ++ "|multicpu|"
++ " |cpufreq|"
++ " |multicoretemp|"
++ " |top| "
diff --git a/src/Sway.hs b/src/Sway.hs
index 737c591..2eb2b4c 100644
--- a/src/Sway.hs
+++ b/src/Sway.hs
@@ -11,10 +11,10 @@ topProcL p = TopProc (p <~> args) 15
diskIOS p = DiskIO [("/", "<total>"), ("/home", "<total>")] (diskArgs p) 10
-mpd a p i = MPDX [ "-W", "12", "-t", "<statei> <remaining>"
- , "--", "-p", p, "-P", "\xf144", "-Z", fni i, "-S", fni i] 20 a
+-- mpd a p i = MPDX [ "-W", "12", "-t", "<statei> <remaining>"
+-- , "--", "-p", p, "-P", "\xf144", "-Z", fni i, "-S", fni i] 20 a
-mpdMon = mpd "mpd" "6600" "🎶"
+-- mpdMon = mpd "mpd" "6600" "🎶"
mprisx client width =
Mpris2 client ["-t" , " <title> "
@@ -31,7 +31,7 @@ config p = (baseConfig p) {
, border = FullB
, commands = [ Run (topProcL p)
, Run (iconBatt p)
- , Run mpdMon
+ -- , Run mpdMon
, Run (cpu p)
, Run memoratio
, Run (diskU p)
@@ -63,7 +63,7 @@ config p = (baseConfig p) {
++ " |default:Master| "
++ fn 7 "\xf130" ++ " |default:Capture|"
++ "</action> "
- ++ "|mpd|"
+ -- ++ "|mpd|"
++ "<hspace=3/>"
++ " |EGPH| "
++ " {} <hspace=3/>"
diff --git a/xmobar-config.cabal b/xmobar-config.cabal
index 31aa799..4538d8f 100644
--- a/xmobar-config.cabal
+++ b/xmobar-config.cabal
@@ -3,7 +3,7 @@ version: 0.1
description: xmobar configs
author: jao
maintainer: jao@gnu.org
-copyright: 2018, 2019, 2020, 2022 Jose A Ortega Ruiz
+copyright: 2018, 2019, 2020, 2022, 2023 Jose A Ortega Ruiz
license: GPL-3
build-type: Simple
cabal-version: >= 1.10
@@ -13,7 +13,7 @@ extra-source-files:
library
hs-source-dirs: lib
- exposed-modules: Config, Monitors, Bottom, Music
+ exposed-modules: Config, Monitors, Bottom
build-depends: base >=4.7 && <5, async > 2.2, stm >= 2.5,
aeson, text, bytestring, http-conduit,
hinotify, xmobar