added sp-lock unlock script
This commit is contained in:
parent
a71c850b8f
commit
955995c3ad
2 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
source "/usr/lib/sp-functions"
|
||||
unlock_script="${conf_dir}/unlockscript"
|
||||
|
||||
outputs=( $(swaymsg -t get_outputs | jq -r '.[] | {name} | "\(.name)"') )
|
||||
|
||||
|
@ -14,3 +15,6 @@ for o in ${outputs[@]};do
|
|||
done
|
||||
|
||||
swaylock ${sl_args}
|
||||
if [ -f "${unlock_script}" ]; then
|
||||
bash -c "${unlock_script}"
|
||||
fi
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
sway-profiles (0.2) UNRELEASED; urgency=medium
|
||||
|
||||
* added sp-lock unlock scripts
|
||||
|
||||
-- Penelope Gwen <support@pogmom.me> Wed, 05 Jun 2024 15:29:28 -0600
|
||||
|
||||
sway-profiles (0.1) unstable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
|
Loading…
Add table
Reference in a new issue