commit 585c86ff9340ee3e9918e340743f96e8c8c0787f
parent 8cedc036ff85a2abc6f8bc1e84c268b8caae162d
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date: Thu, 21 May 2026 09:45:31 +0200
Use the same image for wallpaper
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/scripts/.local/bin/greetd-greet b/scripts/.local/bin/greetd-greet
@@ -4,4 +4,6 @@ U="$(awk "-vH=$H" -F: '{if ($6 == H) print $1}' /etc/passwd)"
export PATH="$H/.local/bin:$H/.usr/local/bin:$PATH"
-exec fbterm-bi "$H/Pictures/Wallpapers/02.jpg" -- tuigreet -u "$U" --asterisks -c sway-env
+P="$(xargs -a $H/.cache/awww/$(awww --version | cut -d' ' -f2)/* -0 sh -c 'echo "$3"' 0)"
+
+exec fbterm-bi "$P" -- tuigreet -u "$U" --asterisks -c sway-env
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
@@ -152,7 +152,7 @@ input type:touchpad {
output LVDS-1 resolution 1366x768 position 0,0 scale 1
# Change wallpaper
-bindsym $mod+p exec pkill -SIGUSR1 randpaper
+bindsym $mod+p exec randpaper
# Take screenshot
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
@@ -172,7 +172,7 @@ for_window [app_id="com.sub.tui"] floating enable
for_window [app_id="upplay"] floating enable
exec awww-daemon
-exec randpaper --daemon
+exec sleep 30m && randpaper --daemon
exec mako
exec wlsunset -l 50.049683 -L 19.944544