Initialize repository, adding makefile, packages list, config and colorscheme for vim, config for sway and wofi, scripts for automatic loading of sway via systemd.
This commit is contained in:
commit
57bdfa3aff
15 changed files with 765 additions and 0 deletions
16
swaylock_screen.sh
Normal file
16
swaylock_screen.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Credit to the following for comming up with this:
|
||||
# https://code.krister.ee/lock-screen-in-sway/
|
||||
# To Do: The fancier screen lock mentioned on that page might be cool to try.
|
||||
|
||||
# Times the screen off and puts it to background
|
||||
swayidle \
|
||||
timeout 10 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' &
|
||||
|
||||
# Locks the screen immediately
|
||||
swaylock -c 550000
|
||||
|
||||
# Kills last background task so idle timer doesn't keep running
|
||||
kill %%
|
Loading…
Add table
Add a link
Reference in a new issue