aboutsummaryrefslogtreecommitdiff
path: root/configs/xmobar_gputemp.sh
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2014-10-09 12:24:37 +0200
committertoni <matzeton@googlemail.com>2014-10-09 12:24:37 +0200
commita8b21a7ba80729348141c9539cb89d7b82f798aa (patch)
tree3b48aee4b1ff6b9b356f8b5fbc2e5d4c879244f9 /configs/xmobar_gputemp.sh
parent9fa8d938c040e47fa883cabd9dbf8e1aba3addb8 (diff)
xmobarrc: display gpu temp (nvidia-smi)
Diffstat (limited to 'configs/xmobar_gputemp.sh')
-rwxr-xr-xconfigs/xmobar_gputemp.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/xmobar_gputemp.sh b/configs/xmobar_gputemp.sh
new file mode 100755
index 0000000..c4dffe3
--- /dev/null
+++ b/configs/xmobar_gputemp.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+nvidia-smi | grep -oE '[0-9]{2,3}C'