diff options
| author | krolxon <krolyxon@tutanota.com> | 2025-08-13 15:01:43 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2025-08-13 15:01:43 +0530 |
| commit | 32247d59a2ea42542328071c3784bec753b8ce00 (patch) | |
| tree | 0bb000d17e97cdc43ef1a720cb92da749112b382 /.local/bin/randomwall | |
| parent | ecb14b548ec5104d72043759d7b405990ee47c50 (diff) | |
use Fira Code as font, add setwall script
Diffstat (limited to '.local/bin/randomwall')
| -rwxr-xr-x | .local/bin/randomwall | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/.local/bin/randomwall b/.local/bin/randomwall deleted file mode 100755 index fee4482..0000000 --- a/.local/bin/randomwall +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -WALL_DIR="$HOME/pix/wallpapers/onedarkwallpapers/" -NEW_WALL=$(find "$WALL_DIR" -type f | shuf -n 1) - -if ! pgrep -x hyprpaper >/dev/null; then - # hyprpaper not running → write config and start it - cat > ~/.config/hypr/hyprpaper.conf <<EOF -preload = $NEW_WALL -wallpaper = ,$NEW_WALL -EOF - hyprpaper & -else - # hyprpaper is running → just update it live - hyprctl hyprpaper preload "$NEW_WALL" - hyprctl hyprpaper wallpaper ",$NEW_WALL" -fi - |
