#!/bin/bash #term "beacon hook lock" wsunit +m @unlocked wsunit bump pactl get-sink-mute @DEFAULT_SINK@ | grep -vq yes muted="$?" pactl set-sink-mute @DEFAULT_SINK@ 1 i3lock \ --nofork \ --image="$HOME/wp/curr/out/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="{%{console-2-rgb}%}ff" --ringver-color="{%{console-4-rgb}%}ff" --"ringwrong-color={%{console-9-rgb}%}ff" \ --line-color="{%{console-bg-rgb}%}ff" \ --keyhl-color="{%{console-4-rgb}%}ff" --bshl-color="{%{console-4-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" wsunit -m @unlocked wsunit bump #term "beacon hook unlock"