From a236a8b327de3d5ce5873ceb2d77bbd9af89e3b1 Mon Sep 17 00:00:00 2001 From: speedie Date: Fri, 11 Nov 2022 21:17:56 +0100 Subject: [PATCH] use neosxiv by default --- src/speedwm-swal | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/speedwm-swal b/src/speedwm-swal index dd6d19d..5c4adcb 100755 --- a/src/speedwm-swal +++ b/src/speedwm-swal @@ -16,7 +16,7 @@ SWAL_DEFAULT_CONFIG() esac SWAL_OPT=xwallpaper SWAL_EXPORTDIR=$HOME/.config/speedwm/swal # Config directory - SWAL_IMAGE_VIEWER="sxiv -to" # Image viewer to use () + SWAL_IMAGE_VIEWER="nsxiv -ato" # Image viewer to use () SWAL_ASK_WAL=false # Ask whether or not to use Pywal if possible (true/false) SWAL_RANDOMIZE=false # Select a random wallpaper on login } @@ -115,10 +115,10 @@ SWAL_CHECK() if [ "$SWAL_IMAGE_VIEWER" = "" ]; then if command -v feh > /dev/null; then SWAL_IMAGE_VIEWER=feh - elif command -v sxiv > /dev/null; then - SWAL_IMAGE_VIEWER=sxiv elif command -v nsxiv > /dev/null; then SWAL_IMAGE_VIEWER=nsxiv + elif command -v sxiv > /dev/null; then + SWAL_IMAGE_VIEWER=sxiv fi fi @@ -134,8 +134,8 @@ SWAL_DIE() # Print usage. SWAL_USAGE() { echo "To set a wallpaper, you must create a configuration. To do this, select 'Options' in the menu and set all the options to your liking." - echo "The image viewer must be set to an image viewer that supports printing the filename to stdout. If you use sxiv, set the image viewer to 'sxiv -o'." - echo "In the case of sxiv, This means you can press 'm' when previewing an image to select it and then set it." + echo "The image viewer must be set to an image viewer that supports printing the filename to stdout. If you use nsxiv, set the image viewer to 'nsxiv -ato'." + echo "In the case of nsxiv, This means you can press 'm' when previewing an image to select it and then set it." echo "Once you've selected your image using the method you prefer, select how you want to set it." echo "Then your pywal colors will reload, and the wallpaper will be set." echo "For more information, see speedwm-help -a."