aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/i3/scripts/executable_ppd-status')
-rw-r--r--dot_config/i3/scripts/executable_ppd-status11
1 files changed, 11 insertions, 0 deletions
diff --git a/dot_config/i3/scripts/executable_ppd-status b/dot_config/i3/scripts/executable_ppd-status
new file mode 100644
index 0000000..8e6eb7b
--- /dev/null
+++ b/dot_config/i3/scripts/executable_ppd-status
@@ -0,0 +1,11 @@
1#!/usr/bin/env bash
2#
3# power-profiles-daemon implementation:
4# needs package power-profiles-daemon installed and the service running see here:
5# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon
6# used in i3-blocks: ~/.config/i3/i3blocks.conf together with: ~/.config/i3/scripts/power-profiles
7
8# script to show current power profile
9
10current_profile=$(/usr/bin/powerprofilesctl get)
11echo "$current_profile"
Powered by cgit v1.2.3 (git 2.41.0)