-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ignore file, new lock, remove dwm config
- Loading branch information
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Ignore Swap Files | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
#Take a Screenshot | ||
scrot /tmp/screen.png | ||
#Pixelate the Screenshot | ||
convert /tmp/screen.png -scale 10% -scale 1000% /tmp/screen.png | ||
#Add Lock image, I think | ||
convert /tmp/screen.png ~/.dotfiles/lock.png -gravity center -composite -matte /tmp/screen.png | ||
#Lock the screen with the image. | ||
i3lock -u -i /tmp/screen.png | ||
#Remove temp image. | ||
rm /tmp/screen.png | ||
#Turn the screen off after a 60 second delay. | ||
#I pulled this from some forum, but I don't think it cares if pgrep returns true | ||
#or not... | ||
|
||
#sleep 50; pgrep i3lock && xset dpms force off |