dotfiles/.scripts/i3lock.sh
Viyurz cf713cb0b4
Swaylock: Take into consideration state of weeb mode.
If weeb mode is off, swaylock will display the default Hyprland wallpaper
instead of the randomly chosen one when using the base swaylock (no
effects).
2023-12-05 11:04:52 +01:00

32 lines
645 B
Bash
Executable file

#!/bin/sh
source "$HOME/.cache/colors.sh"
options=(
--insidever-color=#00000000
--ringver-color=$good
--insidewrong-color=#00000000
--ringwrong-color=$bad
--inside-color=00000000
--ring-color=$accent1
--line-color=00000000
--separator-color=00000000
--verif-color=$foreground
--wrong-color=$foreground
--time-color=$foreground
--date-color=$foreground
--layout-color=$foreground
--keyhl-color=$foreground
--bshl-color=$disabled
--screen 1
--clock
--indicator
--time-str="%H:%M:%S"
--date-str="%A, %Y-%m-%d"
--keylayout 1
--image "$HOME/.cache/wallpaper-blurred.jpg"
)
i3lock "${options[@]}"
sw -r