summaryrefslogtreecommitdiff
path: root/arch/scripts/.local/bin/specific-wallpaper
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-10-02 01:22:35 -0700
committersteven-na <noreply.github@stvnc.dev>2026-10-02 01:22:35 -0700
commit73dc35d886da131b357d2adfe9a1fc1479008f8a (patch)
treefcdb47b6fb89eddea6038ae8da2eb6b70f3f9dca /arch/scripts/.local/bin/specific-wallpaper
parent663b54a302a0f2525eb232eafc9aa2212c3c556b (diff)
Small scripts
Diffstat (limited to 'arch/scripts/.local/bin/specific-wallpaper')
-rwxr-xr-xarch/scripts/.local/bin/specific-wallpaper6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/scripts/.local/bin/specific-wallpaper b/arch/scripts/.local/bin/specific-wallpaper
new file mode 100755
index 0000000..3a8299d
--- /dev/null
+++ b/arch/scripts/.local/bin/specific-wallpaper
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+file=$(fd . ~/wallpapers/ -e jpg -e png -e jpeg -e bmp | fzf)
+monitor=$(awww query | awk 'match($0, /: ([^:]+)/, arr) {print arr[1]}' | fzf)
+
+awww img --outputs $monitor $file