Just a plain and simple terminal powermenu for Linux, written in Python with ncurses library, inspired by ncmpcpp command window.
For now, this script only work with xfce4 Dekstop Environment (DE).
But it should be easy enough to adjust the script a bit to make it works on your desired environment.
- Create the directory
~/.local/bin:
cd .local
mkdir bin
- Copy the (raw text of)
powermenuscript in this repository, then:
vim ~/.local/bin/powermenu
# You may use other text editor that you prefer
Paste the script in that file
- Type
chmod u+x ~/.local/bin/powermenu - For the script to be used system-wide, instead of being able to only execute it while you were in the specific directory right above, you need to put it on PATH:
- If you use
bashor/andzshshell, paste in either.bashrcor/and.zshrc:export PATH="$HOME/.local/bin:$PATH". Finally, exit, then re-enter the terminal. - If you use
fishshell, paste this line in~/.config/fish/config.fish:set -gx PATH $HOME/.local/bin $PATH. Then exit and re-enter the terminal.
