Git Product home page Git Product logo

rofi-blurry-powermenu's Introduction

Rofi Blurry Powermenu

Preview while on desktop Preview while busy

A simple yet beautiful powermenu made with Rofi, simulates a blur effect in the current screen.

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.

rofi-blurry-powermenu's People

Contributors

dependabot[bot] avatar lu0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rofi-blurry-powermenu's Issues

Update screenshots in the docs

The theme changed a bit to make unselected options a bit dimmer than the selected one, and the "radius" of the blur effect was modified after #3.

Update all screenshots in the README file to reflect those changes.

font display is broken

I am trying to get this template to run on arch, so I already had to specify the display width and height manually. But that works fine.

When I run the .sh, the glyphs do not actually take the text color, but stay black and have a white chunky background. I tried using different fonts, but that indeed does only change the glyph.

Did you encounter something like this during development?
powermenu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.