Configurable ncurses based TUI dashboard for systems like a power menu or controlling monitors.
Features:
- Customizable appearance
- Bind any system command to a hotkey
- Mouse support
- dependencies:
c standard library, ncurses, bash - run
sudo make && sudo make install
- run
sudo make uninstall
Default config is in simpleboard.conf (copied when installed)
Config file location: ~/.config/gusboard/simpleboard.conf
# Default values provided
# 0 = false, 1 = true
:[appearance]
color = blue (text color)
height = 10 (box height)
width = 20 (box width)
dynamicHeight = 0 (determined from # commands)
dynamicWidth = 0 (determined from max command name len)
dynamicWidthMin = 0 (min width if dynamicWidth = 1)
title = simpleboard (empty field will show no title)
titleColor = red (title color)
border = 1 (window border)
preCommand = (system command to run before showing anything)
:[commands]
{command display name} = {system command}, {hotkey}, {misc}
# Comments with #, must be newline
To launch simpleboard as full screen in Hyprland the following command can be used:
hyprctl dispatch exec "[size 100% 100%; float; move 0% 0%; animation slide]" "kitty -e simpleboard"In my testing terminal based applications seem to not work with static window rules. As terminal apps set window titles after process creation, Hyprland will not apply window rules to them.
make will output ./bin/simpleboard, keep in mind behavior will be slightly different when running from a terminal that closes after execution or not.
make debug will output ./bin/simpleboard_debug, which is compiled with the -gflag
make test will output ./bin/readConfig_test and run automatically on compile success, unit tests created using the acutest framework.
