From a623fed63460d6d810605ce1ce858a58a5b222f7 Mon Sep 17 00:00:00 2001 From: Sakamoto Date: Tue, 12 May 2026 18:31:15 -0500 Subject: init --- dot_config/waybar/custom_modules/executable_cpugovernor.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dot_config/waybar/custom_modules/executable_cpugovernor.sh (limited to 'dot_config/waybar/custom_modules/executable_cpugovernor.sh') diff --git a/dot_config/waybar/custom_modules/executable_cpugovernor.sh b/dot_config/waybar/custom_modules/executable_cpugovernor.sh new file mode 100644 index 0000000..bdd0b00 --- /dev/null +++ b/dot_config/waybar/custom_modules/executable_cpugovernor.sh @@ -0,0 +1,7 @@ +#!/bin/bash +if [ `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`="performance" ]; then + echo '{"text": "perf", "alt": "perf", "class": "performance", "tooltip": "Governor Performance"}' + #echo '' +elif [ `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`="schedutil" ]; then + echo '{"text": "sched", "class": "schedutil", "tooltip": "Governor Schedutil"}' +fi \ No newline at end of file -- cgit v1.2.3