From 9a3c08dd6d70d0a1b2016aa6aa4f3090f3764875 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Thu, 20 May 2021 14:41:48 +0200 Subject: [PATCH] Big update. --- dmenulinkhandler | 2 +- dmenuryzenadj | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dmenulinkhandler b/dmenulinkhandler index 1851863..a8631d9 100755 --- a/dmenulinkhandler +++ b/dmenulinkhandler @@ -4,7 +4,7 @@ # some choice programs to use to open it. case "$(printf "mpv\\nbrowser\\ncopy url\\nw3m" | dmenu -p "Open link with what program?")" in - mpv) mpv -quiet "$1" ;; + mpv) mpv "$1" ;; browser) "$BROWSER" "$1" > /dev/null;; "copy url") echo "$1" | xclip -selection clipboard ;; w3m) w3m "$1";; diff --git a/dmenuryzenadj b/dmenuryzenadj index 06301f5..3616af7 100755 --- a/dmenuryzenadj +++ b/dmenuryzenadj @@ -1,9 +1,9 @@ #!/bin/sh case "$(printf "normal mode\\nfluff mode\\nlight gaming\\nheavy gaming\\nsuper heavy programs" | dmenu -p "Choose Ryzen 5 mode")" in - "normal mode") sudo ryzenadj --slow-time=30 --vrmmax-current=30000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=60 --stapm-limit=10000 --stapm-time=300 --fast-limit=12000 --slow-limit=11000; break ;; - "fluff mode") sudo ryzenadj --slow-time=30 --vrmmax-current=30000 --max-gfxclk=550 --max-fclk-frequency=1200 --tctl-temp=70 --stapm-limit=5000 --stapm-time=150 --fast-limit=7000 --slow-limit=6000; break ;; - "light gaming") sudo ryzenadj --slow-time=30 --vrmmax-current=35000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=65 --stapm-limit=10000 --stapm-time=300 --fast-limit=12000 --slow-limit=11000; break ;; - "heavy gaming") sudo ryzenadj --slow-time=60 --vrmmax-current=60000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=70 --stapm-limit=20000 --stapm-time=1000 --fast-limit=25000 --slow-limit=21000; break ;; - "super heavy programs") sudo ryzenadj --slow-time=60 --vrmmax-current=60000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=75 --stapm-limit=25000 --stapm-time=1000 --fast-limit=30000 --slow-limit=27000; break ;; + "normal mode") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=30 --vrmmax-current=30000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=60 --stapm-limit=10000 --stapm-time=300 --fast-limit=12000 --slow-limit=11000; break ;; + "fluff mode") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=30 --vrmmax-current=30000 --max-gfxclk=550 --max-fclk-frequency=1200 --tctl-temp=70 --stapm-limit=5000 --stapm-time=150 --fast-limit=7000 --slow-limit=6000; break ;; + "light gaming") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=30 --vrmmax-current=35000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=65 --stapm-limit=10000 --stapm-time=300 --fast-limit=12000 --slow-limit=11000; break ;; + "heavy gaming") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=60 --vrmmax-current=60000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=70 --stapm-limit=20000 --stapm-time=1000 --fast-limit=25000 --slow-limit=21000; break ;; + "super heavy programs") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=60 --vrmmax-current=60000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=75 --stapm-limit=25000 --stapm-time=1000 --fast-limit=30000 --slow-limit=27000; break ;; esac