From e2532c6684517093590559727c5e5ca4881bae52 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Thu, 8 Aug 2024 19:46:00 +0200 Subject: [PATCH] Fix sudo problem, disable screensaver. --- .config/X11/xinitrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc index 042e6f6..b1958b5 100644 --- a/.config/X11/xinitrc +++ b/.config/X11/xinitrc @@ -1,6 +1,6 @@ #!/bin/sh -sudo ryzenadj-service --stapm-limit 35000 --fast-limit 35000 --slow-limit 35000 --slow-time 60 --stapm-time 1000 --tctl-temp 85 --vrmmax-current 70000 &>/dev/null & +sudo $HOME/bin/misc/ryzenadj-service --stapm-limit 35000 --fast-limit 35000 --slow-limit 35000 --slow-time 60 --stapm-time 1000 --tctl-temp 85 --vrmmax-current 70000 &>/dev/null & userresources=$HOME/.config/X11/xresources usermodmap=$HOME/.Xmodmap @@ -44,6 +44,11 @@ setxkbmap -option caps:escape # Set mouse settings mouse-settings +# Disable screensaver +xset dpms 0 0 0 +xset s off +xset s noblank + # Recompile xmonad xmonad --recompile