From 1ca280b6016f8f762411a44f53c44981bb9246c5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 22 Jul 2024 16:53:31 +0200 Subject: .. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xpybar/config/xmonad-monitor.gpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xpybar') 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) -- cgit v1.2.3-70-g09d2