diff options
Diffstat (limited to '.local/bin')
-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; } |