aboutsummaryrefslogtreecommitdiffstats
path: root/xpybar/config
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-07-22 16:53:31 +0200
committerMattias Andrée <maandree@kth.se>2024-07-22 16:53:31 +0200
commit1ca280b6016f8f762411a44f53c44981bb9246c5 (patch)
tree433d7ef45dbf5fac3344a04f16315ff66f462c16 /xpybar/config
parentm (diff)
downloaddotfiles-1ca280b6016f8f762411a44f53c44981bb9246c5.tar.gz
dotfiles-1ca280b6016f8f762411a44f53c44981bb9246c5.tar.bz2
dotfiles-1ca280b6016f8f762411a44f53c44981bb9246c5.tar.xz
..
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--xpybar/config/xmonad-monitor.gpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xpybar/config/xmonad-monitor.gpp b/xpybar/config/xmonad-monitor.gpp
index df42701..92843bb 100644
--- a/xpybar/config/xmonad-monitor.gpp
+++ b/xpybar/config/xmonad-monitor.gpp
@@ -89,6 +89,8 @@ with open('/proc/cpuinfo', 'r') as f:
isvm = [line.replace('\n', ' ').replace('\t', ' ').split(':') for line in isvm if line]
isvm = any('hypervisor' in ':'.join(line[1:]).split(' ') for line in isvm if line[0].strip().startswith('flags'))
card1 = 'Ensoniq AudioPCI' if isvm else 'HDA Intel PCH'
+%%>elif test $hostname = hades; then
+card1 = 'HDA Intel PCH'
%%>else
card1 = 'HD-Audio Generic'
%%>fi
@@ -194,7 +196,7 @@ functions = [ [ myxmonad
#, myii
, None
, MyStat (lambda f : Clocked(f, 10))
-%%>if test ! "$hostname" = zenith; then
+%%>if test ! "$hostname" = zenith && test ! "$hostname" = north; then ## TODO how about east and hyperion?
, MyCGNegative()
%%>fi
, MyBrilliance(None)