From 99cfc82a43356c5ca9a720c4230eb08bf05ab9de Mon Sep 17 00:00:00 2001 From: Leon Kowarschick Date: Thu, 14 May 2020 00:50:42 +0200 Subject: [PATCH] add gpuinfo window and top window --- .../configstore/update-notifier-npm.json | 2 +- files/.config/polybar/config.ini | 4 +++- .../polybar-scripts/toggle_gpuinfo_window.sh | 7 +++++++ files/.xmonad/.stack-work/stack.sqlite3 | Bin 823296 -> 823296 bytes files/.xmonad/lib/Config.hs | 1 + files/scripts/gpuinfo.sh | 9 +++++++-- 6 files changed, 19 insertions(+), 4 deletions(-) create mode 100755 files/.config/polybar/polybar-scripts/toggle_gpuinfo_window.sh diff --git a/files/.config/configstore/update-notifier-npm.json b/files/.config/configstore/update-notifier-npm.json index d559cf0..c2c4497 100644 --- a/files/.config/configstore/update-notifier-npm.json +++ b/files/.config/configstore/update-notifier-npm.json @@ -1,4 +1,4 @@ { "optOut": false, - "lastUpdateCheck": 1589203310918 + "lastUpdateCheck": 1589407237422 } \ No newline at end of file diff --git a/files/.config/polybar/config.ini b/files/.config/polybar/config.ini index fbb3eba..310d119 100644 --- a/files/.config/polybar/config.ini +++ b/files/.config/polybar/config.ini @@ -136,8 +136,9 @@ label-mounted = %percentage_used%% [module/cpu] type = internal/cpu interval = 2 -format-prefix = "%{F#fe8019}%{F-} " +format-prefix = "%{A1:~/.config/polybar/polybar-scripts/toggle_gpuinfo_window.sh 'top':}%{F#fe8019}%{F-} %{A}" label = %percentage:2%% +click-left = "" [module/memory] type = internal/memory @@ -203,6 +204,7 @@ interval = 600 type = custom/script exec = "sudo ~/scripts/gpuinfo.sh" format = "%{F#d3869b}%{T3}%{T-}%{F-}