rofi-shutdown-menu

Created
Was maintained by cjuniorfox
Shutdown menu script for using with Rofi
git clone

rofi-shutdown-menu

rofi-shutdown-menu is a script to create a shutdown menu using Rofi. This project is packaged as an RPM for Fedora and uses tito for building.

Table of Contents

Installation

To install the rofi-shutdown-menu RPM package on Fedora, follow these steps:

  1. Download the RPM package from the releases page.
  2. Install the package using dnf: sh sudo dnf install ./rofi-shutdown-menu-0.0.4-1.fcXX.noarch.rpm Replace fcXX with your Fedora version.

Usage

After installation, you can run the rofi-shutdown-menu script to display the shutdown menu:

rofi-shutdown-menu

Ensure that the script is executable and located in your PATH:

which rofi-shutdown-menu

You should see the path to the script, typically /usr/bin/rofi-shutdown-menu.

Building the RPM

To build the RPM package using tito, follow these steps:

  1. Clone the repository:
git clone https://pagure.io/rofi-shutdown-menu
cd rofi-shutdown-menu
  1. Ensure your project directory has the following structure:
rofi-shutdown-menu/
├── .tito
│   └── packages
│       └── rofi-shutdown-menu
│           └── rofi-shutdown-menu.spec
├── src
│   ├── rofi-shutdown-menu
│   └── lockscreen
└── tito.props
  1. Your tito.props file should look something like this:
[tito]
builder = tito.builder.Builder
tagger = tito.tagger.VersionTagger
[rofi-shutdown-menu]
  1. Build the package:
tito build --rpm

Contributing

Contributions are welcome! Please open an issue or submit a pull request on Pagure.

Licence

This project is licensed under the GPLv3 License. See the LICENSE file for details.