diff options
author | Joe <bousset.rudy@gmail.com> | 2022-05-18 09:36:50 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-05-18 09:36:50 +0200 |
commit | ba573a1c2dcfdeb659b61e769584edf022bb3bde (patch) | |
tree | e9147befd38312ae862a94926a1b50c608b22446 /.local | |
parent | setwp udpate (diff) | |
download | dotfiles-bsd-ba573a1c2dcfdeb659b61e769584edf022bb3bde.tar.gz dotfiles-bsd-ba573a1c2dcfdeb659b61e769584edf022bb3bde.tar.bz2 dotfiles-bsd-ba573a1c2dcfdeb659b61e769584edf022bb3bde.tar.xz dotfiles-bsd-ba573a1c2dcfdeb659b61e769584edf022bb3bde.tar.zst dotfiles-bsd-ba573a1c2dcfdeb659b61e769584edf022bb3bde.zip |
Setwp fix
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/setwp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/setwp b/.local/bin/setwp index 6686e67..a60b2c9 100755 --- a/.local/bin/setwp +++ b/.local/bin/setwp @@ -88,7 +88,7 @@ sub main $wp = choose_wp(get_pool_files()); $ret = set_wp($wp); } - if (@ARGV != 0 && $ARGV[0] eq "-nw") { + if (@ARGV == 0 || (@ARGV != 0 && $ARGV[0] ne "-nw")) { notify() if ($ret == 0); notify_error() if ($ret != 0); } |