A simple yet beautiful powermenu made with Rofi, simulates a blur effect in the current screen.
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
Trigger the powermenu, the lock
option is highlighted by default.
blurry-powermenu
See the entire list of options
blurry-powermenu --help
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
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.