update:swww to awww change
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
### wallpaper names:
|
||||
## standard-1.png
|
||||
## wide-1.png
|
||||
while ! swww query &>/dev/null; do
|
||||
while ! awww query &>/dev/null; do
|
||||
sleep 0.1
|
||||
done
|
||||
swww clear 000000
|
||||
awww clear 000000
|
||||
sleep 0.1
|
||||
|
||||
output=$(wlr-randr)
|
||||
@@ -13,7 +13,7 @@ output=$(wlr-randr)
|
||||
monitor_count=$(echo "$output" | grep -c "Enabled: yes")
|
||||
|
||||
# init standard
|
||||
swww img ~/pictures/bgs/standard-1.png --transition-type fade --transition-duration 1 --outputs "eDP-1" & disown
|
||||
awww img ~/pictures/bgs/standard-1.png --transition-type fade --transition-duration 1 --outputs "eDP-1" & disown
|
||||
|
||||
# framework laptop will only ever have 1 external plugged in (for now)
|
||||
if [ "$monitor_count" -gt 1 ]; then
|
||||
@@ -24,10 +24,10 @@ if [ "$monitor_count" -gt 1 ]; then
|
||||
echo $external_monitor
|
||||
if [ -n "$resolution" ]; then
|
||||
if [ "$resolution" = "1920x1080" ]; then
|
||||
swww img ~/pictures/bgs/standard-1.png --transition-type fade --transition-duration 1 --outputs "$external_monitor" & disown
|
||||
awww img ~/pictures/bgs/standard-1.png --transition-type fade --transition-duration 1 --outputs "$external_monitor" & disown
|
||||
else
|
||||
echo "Monitor type: Non-standard (not 1920x1080)"
|
||||
swww img ~/pictures/bgs/wide-1.png --transition-type fade --transition-duration 1 --outputs "$external_monitor" & disown
|
||||
awww img ~/pictures/bgs/wide-1.png --transition-type fade --transition-duration 1 --outputs "$external_monitor" & disown
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set +e
|
||||
|
||||
swww-daemon & disown
|
||||
awww-daemon & disown
|
||||
|
||||
init-wallpapers
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# general packages
|
||||
sudo pacman -S swaybg wl-clipboard wl-clip-persist cliphist slurp grim satty mako neovim firefox ghostty fastfetch xdg-desktop-portal-wlr xdg-desktop-portal-gtk libnotify unzip bat rsync exa ripgrep bash-completion jq otf-font-awesome thunar tumbler less fd mpv btop rofi difftastic udiskie
|
||||
|
||||
# sony raw image thumbnail
|
||||
yay -S raw-thumbnailer
|
||||
|
||||
# screenrecording
|
||||
yay -S wl-screenrec
|
||||
|
||||
@@ -80,7 +83,7 @@ sudo systemctl enable --now bluetooth.service
|
||||
# not enabled: sudo modprobe btusb
|
||||
|
||||
# wallpapers
|
||||
sudo pacman -S swww
|
||||
yay -S awww
|
||||
# if pyenv installed: PATH="/usr/bin:$PATH" yay -S waypaper-git
|
||||
yay -S waypaper-git
|
||||
|
||||
|
||||
Reference in New Issue
Block a user