Skip to content

Commit ad68af3

Browse files
committed
upd
1 parent 283542a commit ad68af3

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

_posts/2025-08-14-change-refresh-rate-battery.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@
1919
</div>
2020
<br>
2121
<a href="/assets/other/set_script.sh">Here</a>
22-
is the script if you want it. YMMV as your laptop may address its internal monitor in a different way than mine.<br>
22+
is the script if you want it. YMMV as your laptop may address its internal monitor in a different way than mine.<br><br>
23+
Edit (22/08/2025): the script has been tweaked to set different permissions.

assets/other/set_script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
echo "kscreen-doctor output.1.mode.2" > low_batt.sh
22
echo "kscreen-doctor output.1.mode.1" > norm_batt.sh
3-
chmod +x low_batt.sh
4-
chmod +x norm_batt.sh
3+
chmod 554 low_batt.sh
4+
chmod 554 norm_batt.sh
55
echo "Set low_batt.sh to be ran when the battery is low and norm_batt.sh when the computer is running off the battery or is recharging."

0 commit comments

Comments
 (0)