diff options
author | ptzz <ptzzptzzp@gmail.com> | 2015-06-07 00:06:02 +0200 |
---|---|---|
committer | ptzz <ptzzptzzp@gmail.com> | 2015-06-07 00:06:02 +0200 |
commit | 5c970b697745737e06e9eba297bed3baedde676c (patch) | |
tree | ddb0dbaea0023db0addc34f387652413d94e40b8 | |
parent | 4cd48ead34d04a7cad41d012ee5670db9c90ed08 (diff) | |
download | ranger-5c970b697745737e06e9eba297bed3baedde676c.tar.gz |
rifle.conf: Exclude `feh` commands if `feh` is not installed
-rw-r--r-- | ranger/config/rifle.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/config/rifle.conf b/ranger/config/rifle.conf index 01fecabc..e05a8166 100644 --- a/ranger/config/rifle.conf +++ b/ranger/config/rifle.conf @@ -189,10 +189,10 @@ ext tar|gz, has tar = tar vvxf "$@" #------------------------------------------- # Misc #------------------------------------------- -label wallpaper, number 11, mime ^image, X = feh --bg-scale "$1" -label wallpaper, number 12, mime ^image, X = feh --bg-tile "$1" -label wallpaper, number 13, mime ^image, X = feh --bg-center "$1" -label wallpaper, number 14, mime ^image, X = feh --bg-fill "$1" +label wallpaper, number 11, mime ^image, has feh, X = feh --bg-scale "$1" +label wallpaper, number 12, mime ^image, has feh, X = feh --bg-tile "$1" +label wallpaper, number 13, mime ^image, has feh, X = feh --bg-center "$1" +label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1" # Define the editor for non-text files + pager as last action !mime ^text, !ext xml|csv|tex|py|pl|rb|js|sh|php = ask |