Skip to content

goeland86/UbuntuLuxaforNotifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

UbuntuLuxaforNotifications

A simple script to catch DBus notifications and show them on the Luxafor.

It is written in Python3 and depends on PyLuxafor

Features:

Stores the state of the flag (color), and flashes it in that color when a notification is received that is not from Deezer (my music player, change it at will)

Reading notifications' body for keywords to set the flag's color and state:

OPEN -> green
QUIET -> yellow
BUSY -> red
CONFUSED -> green tab, red back
EXTRA_CONFUSED -> each LED a separate color
COPS -> launch the US police pattern for 3 seconds before going back to the original state

These notification tests can be generated with the command 'notify-send " " <keyword>'

If the notification is sent by Thunderbird, it flashes slowly in blue for 5 seconds then returns to the original state

About

A simple script to catch DBus notifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages