All Projects β†’ mherrmann β†’ Matrixlock

mherrmann / Matrixlock

Licence: mit
Replace i3's lock screen by the Matrix.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Matrixlock

Swaynagmode
swaynag wrapper for the love of keybindings
Stars: ✭ 21 (-50%)
Mutual labels:  i3, i3wm
Dotfiles
🐲 My Arch Linux config [i3-gaps + i3blocks + Zsh + Spacemacs + Rofi + Alacritty + Neofetch]
Stars: ✭ 725 (+1626.19%)
Mutual labels:  i3, i3wm
rofi-todo
πŸ““ Minimal todo client for the rofi launcher
Stars: ✭ 20 (-52.38%)
Mutual labels:  i3, i3wm
I3
A fork of the i3 window manager with gaps and some other features
Stars: ✭ 5,512 (+13023.81%)
Mutual labels:  i3, i3wm
Direwolf Arch Rice
🐺🍚 A guide to replicating my riced Arch Linux set-up.
Stars: ✭ 501 (+1092.86%)
Mutual labels:  i3, i3wm
dotfiles
A collection of dotfiles for i3, polybar and more.
Stars: ✭ 25 (-40.48%)
Mutual labels:  i3, i3wm
Nmcli Rofi
A simple manager for network connections using rofi and nmcli
Stars: ✭ 39 (-7.14%)
Mutual labels:  i3, i3wm
dotfiles
collection (and a backup) of my config files
Stars: ✭ 49 (+16.67%)
Mutual labels:  i3, i3wm
I3 And Kde Plasma
How to install the i3 window manager on KDE
Stars: ✭ 279 (+564.29%)
Mutual labels:  i3, i3wm
dotfiles
My dotfiles
Stars: ✭ 16 (-61.9%)
Mutual labels:  i3, i3wm
I3 Style
🎨 Make your i3 config a little more stylish.
Stars: ✭ 583 (+1288.1%)
Mutual labels:  i3, i3wm
I3ipc Python
🐍 An improved Python library to control i3wm and sway.
Stars: ✭ 634 (+1409.52%)
Mutual labels:  i3, i3wm
ansible-debian
Buildfiles: Ansible automated leight-weight and sensible Debian provisioning
Stars: ✭ 83 (+97.62%)
Mutual labels:  i3, i3wm
i3-create-config
Script to create an i3 config from multiple files.
Stars: ✭ 27 (-35.71%)
Mutual labels:  i3, i3wm
Dotfiles
🌸 Configuration for i3, kitty, picom, ZSH, gtk, qutebrowser, qbittorrent and more... (All tools for an arch linux new installation)
Stars: ✭ 15 (-64.29%)
Mutual labels:  i3, i3wm
dotfiles
πŸ’» 🍚 πŸ”³ πŸ”² My riced-up Kali dotfiles – off-white | dark leet | chrome lambo
Stars: ✭ 55 (+30.95%)
Mutual labels:  i3, i3wm
i3lock-next
Create a fancy image to use with i3lock.
Stars: ✭ 64 (+52.38%)
Mutual labels:  i3, i3wm
todofi.sh
Handle your todo-txt tasks directly from Rofi
Stars: ✭ 46 (+9.52%)
Mutual labels:  i3, i3wm
i3-workspace-handler
Create i3 workspaces on the fly and call them by name
Stars: ✭ 23 (-45.24%)
Mutual labels:  i3, i3wm
I3blocks Airpods
i3blocks script for managing airpods and airpods pro.
Stars: ✭ 36 (-14.29%)
Mutual labels:  i3, i3wm

matrixlock

i3lock-matrix Demo

The script matrixlock.py in this repository lets you use the Matrix as i3's lock screen.

Requirements

The script currently has the requirements below. You should not find it too difficult to edit matrixlock.py to use a slightly different stack, such as a different terminal. If you do do that, please submit a Pull Request to share your work with others.

  • Python 3.7+
  • Bash
  • Compton
  • xfce4-terminal
  • cmatrix

Set up

Make sure you have all of the above requirements.

Add the following to your Compton config:

opacity-rule = ["10:name = 'i3lock'"]

(If you want more / less transparency of the circle while typing, change 10).

I do this by having the above line in a file compton.conf and in my i3 config:

exec --no-startup-id compton --config ~/.config/i3/compton.conf

Download matrixlock.py and make it executable:

chmod +x matrixlock.py

Then, you should already be able to do:

./matrixlock.py

To automatically lock the screen after 5 minutes, add the following to your i3 config:

exec --no-startup-id xautolock -time 5 -locker ~/.config/i3/matrixlock.py

(Install xautolock if you don't have it.)

I furthermore use the following power menu:

set $Locker ~/.config/i3/matrixlock.py 1 & sleep 1

set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
    bindsym l exec --no-startup-id $Locker, mode "default"
    bindsym e exec --no-startup-id i3-msg exit, mode "default"
    bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default"
    bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default"
    bindsym r exec --no-startup-id systemctl reboot, mode "default"
    bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"  

    # back to normal: Enter or Escape
    bindsym Return mode "default"
    bindsym Escape mode "default"
}

bindsym $mod+Pause mode "$mode_system"
bindsym --release XF86PowerOff mode "$mode_system"

Note matrixlock in the first line and that it only uses a single ampersand. The last two lines let me invoke the power menu when I press Mod+Pause or the Power button on my laptop.

Acknowledgements

This script would not have been possible without this Youtube video.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].