diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-03-19 08:38:14 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-03-19 08:38:14 +0800 |
| commit | dc24c2c18601986421911bbcff42d42292a963a0 (patch) | |
| tree | 00c25d94c31e2f59e6e208da4067fc48d94b762f | |
| parent | 67b3d29810ab7d1b3b2ac34d5d20ffb5683ff108 (diff) | |
update
| -rwxr-xr-x | autostart-hyprland | 8 | ||||
| -rwxr-xr-x | reflector.sh | 6 | ||||
| -rwxr-xr-x | runbgblur.sh | 2 |
3 files changed, 12 insertions, 4 deletions
diff --git a/autostart-hyprland b/autostart-hyprland new file mode 100755 index 0000000..15e178a --- /dev/null +++ b/autostart-hyprland @@ -0,0 +1,8 @@ +#!/bin/bash +sleep 1 +killall xdg-desktop-portal-hyprland +killall xdg-desktop-portal-wlr +killall xdg-desktop-portal +/usr/libexec/xdg-desktop-portal-hyprland & +sleep 2 +/usr/lib/xdg-desktop-portal & diff --git a/reflector.sh b/reflector.sh index e3054f5..92c6453 100755 --- a/reflector.sh +++ b/reflector.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env sh +#!/usr/bin/bash while true; do - exec sudo /usr/bin/reflector @/etc/xdg/reflector/reflector.conf & - update + #sudo #exec sudo /usr/bin/reflector @/etc/xdg/reflector/reflector.conf & + sudo npm update -g & pipx upgrade-all & yay -Syu --noconfirm --disable-download-timeout && flatpak update -y sleep 1080 done diff --git a/runbgblur.sh b/runbgblur.sh index 8906e89..26ad5bd 100755 --- a/runbgblur.sh +++ b/runbgblur.sh @@ -2,7 +2,7 @@ while true; do pkill -f backgroundblur - wallpaper="$(find /home/system/Pictures/wallpapers -type f -name '*.jpg' -o -name '*.png' | shuf -n 1)" + wallpaper="$(find /home/system/Pictures/wallpapers -type f -name '*.jpg' -o -name '*.png' | shuf -n 1)" feh --bg-fill "$wallpaper" & $HOME/.config/bspwm/scripts/backgroundblur -i "$wallpaper" & sleep 1800 |
