aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-02-24 00:52:56 +0900
committerGitHub <noreply@github.com>2025-02-24 00:52:56 +0900
commitb2c6b6c04d06f5fe141151882f7706d5aa7c6863 (patch)
tree2d0a5cbbdad74dac6c227518abdf698d8d8a09d6 /config/hypr/UserScripts
parent58968f2a9b80fc0948f67b0ee6eced7fd6eb7663 (diff)
parent69ab94e6b358c438c258e6fbec3ff460f0180403 (diff)
Merge pull request #579 from JaKooLit/main
main to development
Diffstat (limited to 'config/hypr/UserScripts')
-rwxr-xr-xconfig/hypr/UserScripts/Kool_Quick_Settings.sh4
-rwxr-xr-xconfig/hypr/UserScripts/Weather.py2
-rwxr-xr-xconfig/hypr/UserScripts/Weather.sh4
3 files changed, 5 insertions, 5 deletions
diff --git a/config/hypr/UserScripts/Kool_Quick_Settings.sh b/config/hypr/UserScripts/Kool_Quick_Settings.sh
index 88e26089..3e70fee3 100755
--- a/config/hypr/UserScripts/Kool_Quick_Settings.sh
+++ b/config/hypr/UserScripts/Kool_Quick_Settings.sh
@@ -53,13 +53,13 @@ main() {
"view/edit Default Keybinds") file="$configs/Keybinds.conf" ;;
"Configure Monitors (nwg-displays)")
if ! command -v nwg-displays &>/dev/null; then
- notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first"
+ notify-send -i "$iDIR/ja.png" "E-R-R-O-R" "Install nwg-displays first"
exit 1
fi
nwg-displays ;;
"Configure Workspace Rules (nwg-displays)")
if ! command -v nwg-displays &>/dev/null; then
- notify-send -i "$iDIR/ja.png" "Missing nwg-displays" "Install nwg-displays first"
+ notify-send -i "$iDIR/ja.png" "E-R-R-O-R" "Install nwg-displays first"
exit 1
fi
nwg-displays ;;
diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py
index a2ad98b5..b9efe4e4 100755
--- a/config/hypr/UserScripts/Weather.py
+++ b/config/hypr/UserScripts/Weather.py
@@ -138,7 +138,7 @@ simple_weather = (
)
try:
- with open(os.path.expanduser("$HOME/.cache/.weather_cache"), "w") as file:
+ with open(os.path.expanduser("~/.cache/.weather_cache"), "w") as file:
file.write(simple_weather)
except Exception as e:
print(f"Error writing to cache: {e}")
diff --git a/config/hypr/UserScripts/Weather.sh b/config/hypr/UserScripts/Weather.sh
index 9bdaff4a..f5bf9fa9 100755
--- a/config/hypr/UserScripts/Weather.sh
+++ b/config/hypr/UserScripts/Weather.sh
@@ -4,7 +4,7 @@
# Remember to add city
city=
-cachedir="$HOME/.cache/rbn"
+cachedir="~/.cache/rbn"
cachefile=${0##*/}-$1
if [ ! -d $cachedir ]; then
@@ -84,4 +84,4 @@ echo -e "{\"text\":\""$temperature $condition"\", \"alt\":\""${weather[0]}"\", \
cached_weather=" $temperature \n$condition ${weather[1]}"
-echo -e $cached_weather > "$HOME/.cache/.weather_cache" \ No newline at end of file
+echo -e $cached_weather > "~/.cache/.weather_cache" \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage