diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2021-02-02 11:38:44 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2021-02-02 11:38:44 +0100 |
commit | f09babafa68685108e8e2073783ba234f14ae652 (patch) | |
tree | b7f147f1198bc79346c73ec4c1114b45c5cbbc6e | |
parent | Removed alacritty, updated Emacs and GNU Screen (diff) | |
download | dotfiles-bsd-f09babafa68685108e8e2073783ba234f14ae652.tar.gz dotfiles-bsd-f09babafa68685108e8e2073783ba234f14ae652.tar.bz2 dotfiles-bsd-f09babafa68685108e8e2073783ba234f14ae652.tar.xz dotfiles-bsd-f09babafa68685108e8e2073783ba234f14ae652.tar.zst dotfiles-bsd-f09babafa68685108e8e2073783ba234f14ae652.zip |
Option to not notify on setwp
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/setwp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/setwp b/.local/bin/setwp index 084b738..32bcd78 100755 --- a/.local/bin/setwp +++ b/.local/bin/setwp @@ -49,6 +49,11 @@ sub set_wp '--bg-fill', WP_FILE ); + return; +} + +sub notify +{ system( 'notify-send', '-u', @@ -65,6 +70,9 @@ sub main { choose_and_copy(get_pool_files()); set_wp(); + if (@ARGV == 0 || $ARGV[0] ne "-nw") { + notify(); + } return; } |