You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.2KB

  1. #!/bin/bash
  2. term "beacon hook lock"
  3. pactl get-sink-mute @DEFAULT_SINK@ | grep -vq yes
  4. muted="$?"
  5. pactl set-sink-mute @DEFAULT_SINK@ 1
  6. i3lock \
  7. --nofork \
  8. --image="$HOME/wp/curr/out/all_blur.png" \
  9. --force-clock \
  10. --indicator \
  11. --inside-color="{%{console-bg-rgb}%}aa" --insidever-color="{%{console-bg-rgb}%}aa" --insidewrong-color="{%{console-bg-rgb}%}aa" \
  12. --ring-color="{%{console-2-rgb}%}ff" --ringver-color="{%{console-4-rgb}%}ff" --"ringwrong-color={%{console-9-rgb}%}ff" \
  13. --line-color="{%{console-bg-rgb}%}ff" \
  14. --keyhl-color="{%{console-4-rgb}%}ff" --bshl-color="{%{console-4-rgb}%}ff" \
  15. --separator-color="{%{console-bg-rgb}%}ff" \
  16. --layout-color="{%{console-fg-rgb}%}aa" --time-color="{%{console-fg-rgb}%}aa" --date-color="{%{console-fg-rgb}%}aa" \
  17. --layoutoutline-color="{%{console-bg-rgb}%}ff" --timeoutline-color="{%{console-bg-rgb}%}ff" --dateoutline-color="{%{console-bg-rgb}%}ff" \
  18. --date-str="%Y-%m-%d" --time-str="%H:%M" \
  19. --verif-text="" --wrong-text="" --noinput-text="" --lock-text="" --lockfailed-text="" --greeter-text="" --no-modkey-text \
  20. --redraw-thread \
  21. --composite
  22. pactl set-sink-mute @DEFAULT_SINK@ "$muted"
  23. term "beacon hook unlock"