Table of Contents
Gstuff is a very lightweight and deamon-less notification program built with X11 libraries that can show a box with customizable text in it.
In order to use gstuff you should be running the X11 window system. To compile gstuff from source you should have cmake and make installed.
- Clone the repo
git clone https://github.com/gabriele-0201/gstuff.git
- Open it in a terminal
- Create a
buld/
directorymkdir ./build
- Run cmake to generate Makefile and config files
cmake -S . -B ./build
- Compile with make
make -C ./build
Now your executable program sohould be at ./build/gstuff
and you can run a test by executing
./build/gstuff "hello world"
You can run the program with the default config just by using
gstuff "your text here" "this text goes to the 2nd line" "this text goes to the 3rd line"
Or you can specify a configuration following this steps:
- Copy
config_template.conf
into$HOME/.config/gstuff
and rename it as you wish, we will call it<myConfig>.conf
mkdir $HOME/.config/gstuff cp ./config_template.conf $HOME/.config/gstuff mv $HOME/.config/gstuff/config_template.conf $HOME/.config/gstuff/<myConfig>.conf
- Edit the configration accordingly to your needs
- Note: the fonts can be listed with
xlsfonts
- Note: the fonts can be listed with
- Run gstuff specifying the configuration name (not file):
gstuff --<myConfig> "your text here" "this text goes to the 2nd line" "this text goes to the 3rd line"
- See the config file format guide to customize your gstuff banner and have fun!
Here are some example usecases:
- Getting status of your system with a keybinding
- Having a customizable slider for display backlight and/or volume
- Integrating notification capabilities in your own project
- Showing reminders or timers
- Add images in README
- Add some examples
- Add full UTF8 support
- Implement monitor selection
See the open issues for a full list of proposed features (and known issues).
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.