From dc24c2c18601986421911bbcff42d42292a963a0 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 19 Mar 2023 08:38:14 +0800 Subject: update --- autostart-hyprland | 8 ++++++++ reflector.sh | 6 +++--- runbgblur.sh | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100755 autostart-hyprland 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 -- cgit v1.2.3