diff options
Diffstat (limited to 'dotfiles/.local/bin')
-rwxr-xr-x | dotfiles/.local/bin/barweather | 2 | ||||
-rwxr-xr-x | dotfiles/.local/bin/menumako | 2 | ||||
-rwxr-xr-x | dotfiles/.local/bin/setbg | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/dotfiles/.local/bin/barweather b/dotfiles/.local/bin/barweather index 3fc7f42..a608b80 100755 --- a/dotfiles/.local/bin/barweather +++ b/dotfiles/.local/bin/barweather @@ -12,7 +12,7 @@ update_forecast() { forecast=$(curl -s wttr.in/"$location"?format=1) if [ ${#forecast} -lt 30 ]; then - printf "%s\n" "$forecast" > "$cachefile" + printf "%s\n" "$forecast" | sed -e 's/ / /g' > "$cachefile" fi } diff --git a/dotfiles/.local/bin/menumako b/dotfiles/.local/bin/menumako index 628a93a..96c564b 100755 --- a/dotfiles/.local/bin/menumako +++ b/dotfiles/.local/bin/menumako @@ -1,3 +1,3 @@ #!/bin/sh -makoctl menu rofi -dmenu -p "What to do?" +makoctl menu -- rofi -dmenu -p "What to do?" diff --git a/dotfiles/.local/bin/setbg b/dotfiles/.local/bin/setbg index 2e6dfba..bc8b8a2 100755 --- a/dotfiles/.local/bin/setbg +++ b/dotfiles/.local/bin/setbg @@ -10,6 +10,7 @@ cp "$1" "$dest" if [ -n "$SWAYSOCK" ]; then updisplay elif [ -n "$NIRI_SOCKET" ]; then + niri msg action do-screen-transition -d 200 killall swaybg setsid swaybg -i "$dest" -m fill& fi |