Rendez-vous sur Arrakis, Le site perso d'un hacker libriste curieux crêpophile étourdi
Le 11/09/2019 à 14:53 dans /Logiciel-libre/Code/tk-tools/No-Nobelium/

No : Nobelium

No is a simple notifier which doesn’t depend on any huge graphic library (no GTK, no Qt). It is useful in scripts or any purpose.

no --title "Nouveau message" --details "Nouveau message de la part d'un inconnu" --icon /usr/local/share/icons/Adwaita/48x48/emotes/face-surprise.png

screenshot of nobelium 1

no --title "Notification" --details "Message important en rouge" --background red --icon /usr/local/share/icons/Adwaita/48x48/emblems/emblem-urgent.png

screenshot of nobelium 1


Its here


You’ll need python-3.* and only these libraries :


usage: no [-h] --title TITLE [--details DETAILS] [--icon ICON]
            [--position {NW,N,NE,E,SE,S,SW,W}] [--duration DURATION]
            [--animate] [--margin MARGIN] [--background BACKGROUND]
            [--foreground FOREGROUND]

Simple notifier

optional arguments:
-h, --help            show this help message and exit
--title TITLE         Set the notification title
--details DETAILS     Set the longer message to show
--icon ICON           Set the image path to use as icon
--position {NW,N,NE,E,SE,S,SW,W}
                        Set the notification position.
--duration DURATION   Set the duration while notification is shown
--animate             Enable notification animation
--margin MARGIN       Margin to screen border
--background BACKGROUND
                        Background color
--foreground FOREGROUND
                        Foreground color