rofi-blurry-powermenu
rofi-blurry-powermenu copied to clipboard
Full-screen power menu with a blur effect made with Rofi for Linux.
Rofi Blurry Powermenu
A simple yet beautiful powermenu made with Rofi, simulates a blur effect in the current screen.
-
Rofi Blurry Powermenu
- Installation
-
Usage
- From the terminal on Cinnamon, XFCE and Mate
- Other Desktop Environments
- Acknowledgments
Installation
Clone this repo in your rofi
config folder
git clone https://github.com/lu0/rofi-blurry-powermenu.git ~/.config/rofi/blurry-powermenu
Link the script to your PATH
cd ~/.config/rofi/blurry-powermenu
sudo ln -srf powermenu.sh /usr/bin/blurry-powermenu
Install dependencies
sudo apt update && sudo apt install -y rofi scrot imagemagick
python3 -m pip install -r requirements.txt
Install included fonts
sudo cp fonts/* /usr/share/fonts/ && fc-cache -f
Usage
From the terminal on Cinnamon, XFCE and Mate
Trigger the powermenu, the lock
option is highlighted by default.
blurry-powermenu
See the entire list of options
blurry-powermenu --help
Other Desktop Environments
Depending on your system, there might be specific DE commands to lock your
screen and log out from the session. You may have to change the commands inside
the case
statement of the script powermenu.sh
for it to work on your system.
case $selected in
"${poweroff}")
systemctl poweroff
;;
"${reboot}")
systemctl reboot
;;
"${sleep}")
systemctl suspend
;;
"${logout}")
# DE specific
;;
"${lock}")
# DE specific
;;
esac
Acknowledgments
This powermenu uses open source fonts Webly SleekUI and Feather.
I compiled Feather using my modified fork
of rfbezerra's svg-to-ttf
utility
(which uses Fontcustom)
to set the start of the character map.