Sophie Hirn 4 months ago
parent
commit
ecdd5e1be6
No known key found for this signature in database
2 changed files with 17 additions and 2 deletions
  1. +1
    -1
      .beacon/sed
  2. +16
    -1
      .local/bin/lock

+ 1
- 1
.beacon/sed View File

@@ -1,3 +1,3 @@
s:{%{gentoo-pkg}%}:media-gfx/feh{%{nl}%}{%{gentoo-pkg}%}:g
s:{%{gentoo-pkg}%}:x11-apps/xdpyinfo{%{nl}%}{%{gentoo-pkg}%}:g
s:{%{gentoo-pkg}%}:x11-misc/i3lock{%{nl}%}{%{gentoo-pkg}%}:g
s:{%{gentoo-pkg}%}:x11-misc/i3lock-color{%{nl}%}{%{gentoo-pkg}%}:g

+ 16
- 1
.local/bin/lock View File

@@ -6,7 +6,22 @@ pactl get-sink-mute @DEFAULT_SINK@ | grep -vq yes
muted="$?"
pactl set-sink-mute @DEFAULT_SINK@ 1

i3lock -n -i "$HOME/wp/curr/all_blur.png"
i3lock \
--nofork \
--image="$HOME/wp/curr/all_blur.png" \
--force-clock \
--indicator \
--inside-color="{%{console-bg-rgb}%}aa" --insidever-color="{%{console-bg-rgb}%}aa" --insidewrong-color="{%{console-bg-rgb}%}aa" \
--ring-color="{%{xmonad-weak-rgb}%}ff" --ringver-color="{%{xmonad-strong-rgb}%}ff" --"ringwrong-color={%{console-9-rgb}%}ff" \
--line-color="{%{console-bg-rgb}%}ff" \
--keyhl-color="{%{xmonad-strong-rgb}%}ff" --bshl-color="{%{xmonad-strong-rgb}%}ff" \
--separator-color="{%{console-bg-rgb}%}ff" \
--layout-color="{%{console-fg-rgb}%}aa" --time-color="{%{console-fg-rgb}%}aa" --date-color="{%{console-fg-rgb}%}aa" \
--layoutoutline-color="{%{console-bg-rgb}%}ff" --timeoutline-color="{%{console-bg-rgb}%}ff" --dateoutline-color="{%{console-bg-rgb}%}ff" \
--date-str="%Y-%m-%d" --time-str="%H:%M" \
--verif-text="" --wrong-text="" --noinput-text="" --lock-text="" --lockfailed-text="" --greeter-text="" --no-modkey-text \
--redraw-thread \
--composite

pactl set-sink-mute @DEFAULT_SINK@ "$muted"


Loading…
Cancel
Save