Compare commits
2 commits
910186c692
...
cf713cb0b4
Author | SHA1 | Date | |
---|---|---|---|
|
cf713cb0b4 | ||
|
2e93a9da81 |
4 changed files with 40 additions and 4 deletions
|
@ -39,9 +39,8 @@ exec-once = discord --start-minimized --enable-features=UseOzonePlatform --ozone
|
|||
# Element
|
||||
exec-once = element-desktop --hidden
|
||||
|
||||
# Nextcloud
|
||||
exec-once = nextcloud --background
|
||||
exec-once = gnome-keyring-daemon -s -f
|
||||
# Syncthing
|
||||
exec-once = syncthing --no-browser --gui-address=http://127.0.0.1:8384
|
||||
|
||||
# Theming
|
||||
exec-once = echo 1 > "$HOME/.cache/weeb-mode"
|
||||
|
|
32
.scripts/i3lock.sh
Executable file
32
.scripts/i3lock.sh
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/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
|
|
@ -353,3 +353,4 @@ fi
|
|||
|
||||
# Generate blurred wallpaper to use with swaylock/i3lock
|
||||
convert "$wallpaper" -blur 0x5 -resize 1920x1080 "$HOME/.cache/wallpaper-blurred.jpg" &
|
||||
[[ -f "$HOME/.cache/wallpaper-hypr-blurred.jpg" ]] || convert /usr/share/hyprland/wall_2K.png -blur 0x5 -resize 1920x1080 "$HOME/.cache/wallpaper-hypr-blurred.jpg" &
|
||||
|
|
|
@ -51,8 +51,12 @@ else
|
|||
options+=(
|
||||
--show-failed-attempts
|
||||
--indicator-idle-visible
|
||||
--image "$HOME/.cache/wallpaper-blurred.jpg"
|
||||
)
|
||||
if grep -q 1 "$HOME/.cache/weeb-mode"; then
|
||||
options+=(--image "$HOME/.cache/wallpaper-blurred.jpg")
|
||||
else
|
||||
options+=(--image "$HOME/.cache/wallpaper-hypr-blurred.jpg")
|
||||
fi
|
||||
fi
|
||||
|
||||
if swaylock -v | grep -q fprintd; then
|
||||
|
|
Loading…
Reference in a new issue