Skip to content

Latest commit

 

History

History
63 lines (53 loc) · 1.79 KB

README.md

File metadata and controls

63 lines (53 loc) · 1.79 KB

Pimp my lock

You've got to pimp my lock !

output1

Installation

If you are logged at 42Paris, you can skip to Usage at 42Paris section

make

Binary dependencies

  • head
  • column
  • sed
  • cat
  • mediainfo
  • tail
  • pqiv
  • mpv
  • xwininfo
  • grep
  • awk
  • wmctrl
  • xdotool
  • bash

General installation (Ubuntu)

sudo apt install coreutils bsdextrautils x11-utils sed mediainfo pqiv mpv grep wmctrl xdotool bash

If any file are missing during build, try using apt-file. See here

General usage

./pimp_my_lock.sh <path_to_media> [<x> <y> [<width> <height>]]

Usage at 42Paris

/sgoinfre/goinfre/Perso/jmaia/Public/pimp_my_lock_v2/pimp_my_lock <path_to_media> [<x> <y> [<width> <height>]]

Values can be percents or keywords. See help using /sgoinfre/goinfre/Perso/jmaia/Public/pimp_my_lock_v2/pimp_my_lock without arguments

How do I change the lock button to Pimp my lock at 42Paris ?

  • Create a script called "$HOME/pimp_my_lock_wrapper.sh" that will start Pimp my lock with your arguments
  • Disable old lock button: gnome-extensions disable [email protected]
  • Get Pimp my lock's button: cp -R /sgoinfre/goinfre/Perso/jmaia/Public/pimp_my_lock_v2/[email protected] ~/.local/share/gnome-shell/extensions/
  • Restart your session
  • Enable Pimp my lock's button: gnome-extensions enable [email protected]

A problem ?

If you have any problem, please open an issue on https://github.com/jerem-ma/pimp_my_lock/issues

Contributing

  1. Fork this repository (https://github.com/jerem-ma/pimp_my_lock/fork)
  2. Create a feature branch
  3. Do your things
  4. Open a Pull Request on v2 branch