Last active
March 13, 2023 07:18
-
-
Save Vicfred/ce573d6a98c8e08f02071e14346f616c to your computer and use it in GitHub Desktop.
scripts
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
#!/bin/sh | |
BLANK='#00000000' | |
CLEAR='#ffffff22' | |
DEFAULT='#ff00ffcc' | |
TEXT='#ee00eeee' | |
WRONG='#880000bb' | |
VERIFYING='#bb00bbbb' | |
i3lock \ | |
--insidever-color=$CLEAR \ | |
--ringver-color=$VERIFYING \ | |
\ | |
--insidewrong-color=$CLEAR \ | |
--ringwrong-color=$WRONG \ | |
\ | |
--inside-color=$BLANK \ | |
--ring-color=$DEFAULT \ | |
--line-color=$BLANK \ | |
--separator-color=$DEFAULT \ | |
\ | |
--verif-color=$TEXT \ | |
--wrong-color=$TEXT \ | |
--time-color=$TEXT \ | |
--date-color=$TEXT \ | |
--layout-color=$TEXT \ | |
--keyhl-color=$WRONG \ | |
--bshl-color=$WRONG \ | |
\ | |
--screen 1 \ | |
--blur 5 \ | |
--clock \ | |
--indicator \ | |
--time-str="%H:%M:%S" \ | |
--date-str="%A, %Y-%m-%d" \ | |
--keylayout 1 \ |
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
#!/bin/bash | |
scrot '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' -s |
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
#!/bin/bash | |
# | |
# Created by djazz // Dangershy | |
# Dependencies: feh | |
# | |
FOLDER="/home/vicfred/img/wallpapers" | |
DELAY=5 | |
# to make it loop over lines instead of spaces in filenames | |
IFS=$'\n'; | |
while true; do | |
LIST=`find "$FOLDER" -type f \( -name '*.jpg' -o -name '*.png' \) | shuf` | |
for i in $LIST; do | |
echo "$i" | |
feh --bg-tile "$i" | |
sleep ${DELAY}m | |
done | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment