From 47157939845ddbc94eb3a179ac20285e6f270529 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 3 Apr 2020 09:39:06 +0300 Subject: fix a retarded a decision --- dotfiles/.config/ranger/rc.conf | 2 +- dotfiles/.local/bin/setbg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'dotfiles') diff --git a/dotfiles/.config/ranger/rc.conf b/dotfiles/.config/ranger/rc.conf index 525fd20..9c977e5 100644 --- a/dotfiles/.config/ranger/rc.conf +++ b/dotfiles/.config/ranger/rc.conf @@ -418,7 +418,7 @@ map MX shell xelatex %f map ML shell pdflatex %f #Image commands -map bgg shell cp %f ~/.config/wall1.png && setbg +map bgg shell setbg %f map bgl shell setbglblur %f map bgL shell setbglsimple %f # map bw shell wal -c -i %f && cp %f ~/.config/wall.png diff --git a/dotfiles/.local/bin/setbg b/dotfiles/.local/bin/setbg index 29a11d7..351ac3d 100755 --- a/dotfiles/.local/bin/setbg +++ b/dotfiles/.local/bin/setbg @@ -1,3 +1,4 @@ #!/bin/sh +cp $1 ~/.config/wall1.png swaymsg output "*" background ~/.config/wall1.png fill -- cgit v1.2.3