Git Product home page Git Product logo

gdm-auto-blur's Introduction

gdm-auto-blur

Sets GDM background image while blurring it and changing brightness.

Works well with Blur my Shell extension. (Brightness and blur parameters correnspond to 'Blur my Shell' ones. Not perfectly, however, but closely)

Until such feature is implemented in future releases of GDM or Gnome, this script serves as a nice workaround

Update

gdm-settings is a thing now, but still no blur ;(

Requirements

pip install Pillow
  • Tkinter

  • gdm-tools

  • blur-my-shell (optional)

  • gsettings

Installation

Download repo as a zip or clone it somewhere

git clone https://github.com/lofilobzik/gdm-auto-blur

Copy gdm-auto-blur.py script to ~/.local/bin/ and make it executable

cd gdm-auto-blur
cp gdm-auto-blur.py ~/.local/bin/gdm-auto-blur
cd ~/.local/bin/
chmod +x gdm-auto-blur

Usage

Just run

gdm-auto-blur

With options

gdm-auto-blur -i path/to/picture.jpg -br 0.5 -b 20 -p

License

MIT

gdm-auto-blur's People

Contributors

lofilobzik avatar nthng-quan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

nthng-quan

gdm-auto-blur's Issues

Error in Gnome 46

I'm getting a couple of errors when using this script in GDM/Gnome v. 46:

file '/usr/share/gnome-shell/gnome-shell-theme.gresource.default' doesn't exist, so couldn't be extracted
cp: cannot stat '/tmp/tmp.U10bylMvNN/theme/gnome-shell-theme.gresource': No such file or directory
Theme set to 'default'
Done!

Also, location for Blur My Shell seems to be hardcoded, it would be useful to either check different paths or pass as an additional argument (for instance, /usr/share/gnome-shell/extensions which is the default path when installed from the AUR in Archlinux).

I understand this project is already 3 years old and I'm unsure if still actively maintained, but an update to the latest Gnome version would be welcome.

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.