dev: automated commit - 2025-06-08 21:44:47
This commit is contained in:
parent
9076125efa
commit
6f13d4b40d
10 changed files with 14 additions and 315 deletions
|
@ -6,7 +6,11 @@ pkill feh
|
|||
|
||||
# Function to set wallpaper using swaybg on Sway
|
||||
set_wallpaper_sway() {
|
||||
swaymsg -t get_outputs -r | jq -r ".[].name" | parallel 'swaybg -o {} -i $(find ~/Pictures/* -type f | shuf -n 1) &'
|
||||
if [ "$(hostname)" == "main" ]; then
|
||||
swaymsg -t get_outputs -r | jq -r ".[].name" | parallel 'swaybg -o {} -i $(find ~/Pictures/* -type f | shuf -n 1) &'
|
||||
elif [ "$(hostname)" == "fw" ]; then
|
||||
swaybg -m fill -i "/home/forbi/Pictures/nord-balloons.png"
|
||||
fi
|
||||
}
|
||||
|
||||
# Function to set wallpaper using swaybg on Hyprland
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue