diff options
| author | silly <u65487754@gmail.com> | 2026-03-09 03:42:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-09 03:42:47 +0100 |
| commit | c5dd1ef1f8dcb1a59da38df196937e8e408dec51 (patch) | |
| tree | fa92bfa7b380ff2bd5adb6d217c2c4b502e62fdd /.config/scripts/wallpaper.sh | |
| parent | 0b952545225b9f4f91eba18317bb64c21a92df31 (diff) | |
Update wallpaper.sh
Diffstat (limited to '.config/scripts/wallpaper.sh')
| -rw-r--r-- | .config/scripts/wallpaper.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/scripts/wallpaper.sh b/.config/scripts/wallpaper.sh index 3206102..76706fb 100644 --- a/.config/scripts/wallpaper.sh +++ b/.config/scripts/wallpaper.sh @@ -2,6 +2,8 @@ WALL_DIR="$HOME/.config/wallpaper/" CACHE_PATH="$HOME/.cache/wallpaper.*" +MAIN_MONITOR="HDMI-A-1" +SECOND_MONITOR="DP-1" selected=$(echo -e "random\n$(ls "$WALL_DIR")" | fuzzel -d -p "> ") @@ -14,7 +16,8 @@ fi FULL_PATH="$WALL_DIR/$selected" -swww img "$FULL_PATH" --transition-type grow --transition-duration 1.5 --transition-fps 120 +swww img -o "$MAIN_MONITOR" "$FULL_PATH" --transition-type grow --transition-duration 1.5 --transition-fps 120 +swww img -o "$SECOND_MONITOR" /dev/null --transition-type none 2>/dev/null wal -i "$FULL_PATH" -n -q |
