diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-08-18 14:45:57 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-08-18 14:45:57 +0300 |
commit | b3318da576333bd5caf32506b6706638e40ca458 (patch) | |
tree | 2735e5eb903c6b4da3c9d4b78def7df26ccebe55 /dotfiles/.config/sxiv/exec | |
parent | 7866c246f312d78c9838179aaa21dbc645802f63 (diff) | |
download | swayrice-b3318da576333bd5caf32506b6706638e40ca458.tar.gz swayrice-b3318da576333bd5caf32506b6706638e40ca458.zip |
Easier to set different wallpapers on my desktop
* Change setbg script so that it can copy and set wallpapers to
different monitors depending on my sway config
* Add key shortcut to sxiv to set second monitor's wallaper
* Make the wallpaper of the second output different in sway config
Diffstat (limited to 'dotfiles/.config/sxiv/exec')
-rwxr-xr-x | dotfiles/.config/sxiv/exec/key-handler | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dotfiles/.config/sxiv/exec/key-handler b/dotfiles/.config/sxiv/exec/key-handler index 6e17c5a..8fa1bdb 100755 --- a/dotfiles/.config/sxiv/exec/key-handler +++ b/dotfiles/.config/sxiv/exec/key-handler @@ -2,9 +2,12 @@ while read file; do case "$1" in - "C-a") + "C-a" | "C-1") setbg "$file" exit ;; + "C-2") + setbg "$file" "2" + exit ;; "C-s") setbglblur "$file" exit ;; |