Skip to content

bzglve/rustyfications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustyfications

Rusty notification daemon for Wayland.


screenshot

inline-reply

rickroll

Rust | Gtk4 | gtk4-layer-shell


Running

Currently you need to run it manually. Be sure that no other notification daemons is running

cargo run --release
in case it throws `NameTaken` error
# check what other notification daemon is running
# example output
# org.freedesktop.Notifications                          432884 DAEMONNAME            USERNAME :1.6094       user@1000.service -       -
busctl --user list | grep org.freedesktop.Notifications

# kill it
killall DAEMONNAME

Automation

You can create a file /usr/share/dbus-1/services/com.bzglve.rustyfications.service

put the following in it

[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/bin/rustyfications

and of course copy binary to bin directory

sudo cp target/release/rustyfications /usr/bin/rustyfications

From now you don't need to manually start daemon. It will be activated automatically on any client request

Configuration

Default configuration provided in example config.ron. It should be placed in user config dir either systems ( ~/.config/rustyfications/config.ron / /etc/xdg/rustyfications/config.ron )

Planning

  • configuration
  • more capabilities and hints support
  • styling customization
  • ipc like stuff to call already running daemon
  • SwayNotificationCenter-like sidebar window
  • packaging

Motivation

Practice myself and write something that I will use every day.

Other tools don't quite meet my needs.

Highly inspired by SwayNotificationCenter