GithubHelp home page GithubHelp logo

oakszyjrnrdy / betterlockscreen_rapid Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 4.0 1.78 MB

A rapid and good-looking screen locker

License: MIT License

Shell 100.00%
betterlockscreen dwm i3 i3lock i3lock-color i3lock-fancy i3lock-fancy-rapid lock lockscreen screenlock

betterlockscreen_rapid's Introduction

betterlockscreen_rapid

This is a shell script wrapper for i3lock-fancy-rapid inspired by betterlockscreen.

It takes a screenshot, blurs it and use it as your lockscreen. All this is done in a very short period of time.

Here are two examples:

screenshot_blur

screenshot_pixel

Feature

  • rapid
  • good-looking
  • configurable

Installation

Package Manager

Arch Linux

Install the aur package betterlockscreen_rapid-git.

Gentoo Linux

Thanks for jian-lin's contribution.

Install the GURU package x11-misc/betterlockscreen_rapid. Please refer to this for more information.

Others

If you want to package it for other distributions, please let me known and I'll put the package information here.

Manual Installation

  1. Install all the dependencies.
  2. Copy betterlockscreen_rapid to /usr/bin/ or somewhere else in you $PATH.
  3. Copy betterlockscreen_rapid.conf to /etc/.

Configuration

Make directory $XDG_CONFIG_HOME/betterlockscreen_rapid/ and write your own configuration file betterlockscreen_rapid.conf there.

You can use betterlockscreen_rapid.conf as a reference. More information can be found at betterlockscreen.

Note that $XDG_CONFIG_HOME defaults to $HOME/.config/.

Usage

betterlockscreen_rapid radius [times | pixel]
  • radius is the kernel size of the box filter.
  • times is the number of times we filter the image.
  • pixel for pixelization

More information can be found at i3lock-fancy-rapid.

Note

betterlockscreen defaults to nofork mode.

nofork mode may be benefical to you, e.g. you can pause you notificition before locking your screen and resume it after unlocking your screen like this:

dunstctl set-paused true
betterlockscreen_rapid 31 3
dunstctl set-paused false

If you do not want nofork mode, you can set nofork='false' in the configuration to disable it.

Dependency

LICENSE

MIT

betterlockscreen_rapid's People

Contributors

h313 avatar hl-valdemar avatar oakszyjrnrdy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

betterlockscreen_rapid's Issues

Help package it on Gentoo Linux

Hi, there. Nice wok!

I help package it on GURU repo of Gentoo Linux. It is called x11-misc/betterlockscreen_rapid.

The steps to install it are as follows:

# install a repository management tool
sudo emerge --ask --verbose app-eselect/eselect-repository
# refresh the repository list
sudo eselect repository list
# enable guru
sudo eselect repository enable guru
# sync guru
sudo emerge --sync guru
# install betterlockscreen_rapid
sudo emerge --ask --verbose x11-misc/betterlockscreen_rapid

This will benefit Gentoo users. It would be very appreciated if you add this information to the readme file.

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.