Utilize configuration files to create runner scripts.
Find a file
2024-10-09 21:40:34 +02:00
assets fix: fixed the bottom to top problem 2024-01-18 16:58:46 +01:00
src cleanup: moved functions to separate files. 2024-10-09 21:40:34 +02:00
.gitignore pull: merge maukkis's pull request 2024-07-27 19:40:44 +02:00
CMakeLists.txt bump: 0.3 and updated c++ 2024-10-07 18:07:07 +02:00
LICENSE Initial commit 2024-01-11 16:24:53 +01:00
Makefile pkgbuild: fixed a issues and bumped version (0.2.4) 2024-07-28 23:30:46 +02:00
PKGBUILD bump: 0.3 and updated c++ 2024-10-07 18:07:07 +02:00
props.json bump: 0.3 and updated c++ 2024-10-07 18:07:07 +02:00
README.md pkgbuild: added an pkgbuild for arch! 2024-07-28 12:28:59 +02:00
shell.nix added clearing std::cin buffer and checking for eof and added shell.nix for building on nixos 2024-07-27 20:16:41 +03:00

RapidMenu

Utilize configuration files to create runner scripts.

Requirements

  • cpptoml
  • tomlplusplus
  • a runner like rofi, dmenu etc

Installing

From source:

make all
sudo make install

Using rpm:

make all
cd build
cpack -G RPM 
sudo rpm -i *.rpm

Using deb:

make all
cd build
cpack -G deb 
sudo dpkg -i *.deb

Using PKGBUILD:

makepkg -si PKGBUILD

Usage

Help message

usage:  RapidMenu [flags] [<command> [args]]
LISTING COMMANDS:
    -c:           To specify which config to use.
    -b:           Make a executable out of a config.

You will need to first setup the config dir

To do that you just need to, use this command.

RapidMenu

And it should say "Created /home/$USER/.config/RapidMenu".

How to use (-c)

If you want to open a configuration, just use this command.

RapidMenu -c [config]

You should put the config files in the config dir. So, if you want to make a dashboard, then call it dashboard.conf. For games, use games.conf etc.

How to use (-b)

Just use this command, it will throw an error if incorrect. Also, it will ask what you want to name the executable, and if it already exists.

RapidMenu -b [config]

Configuration

It is required to have the [runner] section in the configuration. Example:

[runner]
rname = "Dashboard:" #name if needed
rtheme = "-show-icons -theme ~/.config/rofi/themes/rounded-purple-dark.rasi" #theme if needed
rcommand = "rofi -dmenu -p" #dmenu, rofi, bemenu etc

An example of something to add to the configuration.

[Disk] #To set the name
names = "Disk" #To set the name in the runner
description = "You chose Disk." #Not required but can be set
command = "kitty -e /home/$USER/.config/RapidMenu/hdd.bash" #bash command

Contributors

  • DRAGONTOS
  • maukkis