aboutsummaryrefslogblamecommitdiff
blob: 8e6eb7b728b1e0c2270d2ce1db8c0c5406986d43 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                  
#!/usr/bin/env bash
#
# power-profiles-daemon implementation:
# needs package power-profiles-daemon installed and the service running see here:
# https://wiki.archlinux.org/title/CPU_frequency_scaling#power-profiles-daemon
# used in i3-blocks: ~/.config/i3/i3blocks.conf together with: ~/.config/i3/scripts/power-profiles

# script to show current power profile

current_profile=$(/usr/bin/powerprofilesctl get)
echo "$current_profile"
Powered by cgit v1.2.3 (git 2.41.0)