From dfb16b5cf60194999c7441adbdaad2f9ff14673c Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 3 Mar 2024 23:26:25 +0000 Subject: little tweaks --- src/Emacs.hs | 2 +- src/Single.hs | 4 ++-- src/Sway.hs | 10 +++++----- xmobar-config.cabal | 4 ++-- 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) { ++ "" ++ " |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 [("/", ""), ("/home", "")] (diskArgs p) 10 -mpd a p i = MPDX [ "-W", "12", "-t", " " - , "--", "-p", p, "-P", "\xf144", "-Z", fni i, "-S", fni i] 20 a +-- mpd a p i = MPDX [ "-W", "12", "-t", " " +-- , "--", "-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" , " " @@ -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 -- cgit v1.2.3