| Crates.io | pino-rs-wl |
| lib.rs | pino-rs-wl |
| version | 0.1.1 |
| created_at | 2025-02-20 20:38:38.581015+00 |
| updated_at | 2025-02-20 20:38:38.581015+00 |
| description | simple pretty minimal notification app for Unix (wayland only) |
| homepage | |
| repository | https://github.com/pixel2175/pino |
| max_upload_size | |
| id | 1563129 |
| size | 22,554 |
Pino is a fully customizable notification tool rewritten in Rust. It allows you to display notifications with various options, including dynamic theming, configurable fonts, and system integration.
sudo pacman -S rust
sudo apt install rustc cargo
Then, build the project:
cargo build --release
Copy the binary to /usr/bin:
sudo cp target/release/pino /usr/bin/
Pino requires the following dependencies:
Pino supports the following command-line options:
Usage: pino -t <title> -m <message> [-d <delay>] [-f] [-c <config>]
Options:
-t, --title Set the notification title content
-m, --message Set the notification message content
-d, --delay Set the delay before the program closes (in seconds)
-f, --font Print all the available fonts
-c, --config Set a custom configuration file
--help, help Display usage information
If you want to insert a new line (wrap text) in the message, use \n in the argument parameter.
You can create a script to notify about low battery status:
pino -t "Battery Warning" -m "Low battery!\nPlease connect your charger." -d 5
The app uses a TOML configuration file located at ~/.config/pino/config.toml. Example:
[screen]
monitor = 0
horizontal = "left"
vertical = "top"
x = 25
y = 55
width = 300
height = 100
delay = 5
[frame]
fg_color = "#1a1e24"
font_family = "Fira Code"
[border]
weight = 4
color = "#ffffff"
radius = 8
[title]
color = "#c5c6c8"
font_size = 19
x = 4
y = 10
[message]
color = "#626977"
font_size = 15
x = 10
y = 45
[pywal]
pywal = true
background_color = "bg"
border_color = "color1"
title_color = "fg"
message_color = "color8"
[optional]
sound = false
Pino is lightweight and efficient. The graphical notification window typically uses approximately 18-25MB of RAM when active, ensuring minimal system resource consumption.