commit 041c82b8fdd26b6460e641ada8af40f58dd1d0bb parent 5504141abdd2bc4da8141df771fa3f79b088cf9b Author: Szymon Mikulicz <szymon.mikulicz@posteo.net> Date: Tue, 17 Mar 2020 22:20:51 +0100 feh: add .fehbg Diffstat:
| A | feh/.fehbg | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/feh/.fehbg b/feh/.fehbg @@ -0,0 +1,9 @@ +#!/bin/bash +WP=$(find Pictures/Desktopography/2014/ -type f | shuf -n 1) +convert -resize 1920x1080 $WP ~/.i3/BG.png & + +if [[ "$1" == "Sway" ]]; then + swaymsg "output * background $WP fill" +else + feh --no-fehbg --bg-fill $WP +fi