version 0.3.9, 0.3.10
This commit is contained in:
parent
f65b512bfc
commit
1357d1ca01
5 changed files with 29 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source "/usr/lib/sp-functions"
|
source "/usr/lib/sp-functions"
|
||||||
source "${conf_dir}/config"
|
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
file_manager )
|
file_manager )
|
||||||
|
|
11
bin/sp-lock
11
bin/sp-lock
|
@ -7,7 +7,16 @@ unlock_script="${conf_dir}/unlockscript"
|
||||||
if [ -f "${lock_script}" ]; then
|
if [ -f "${lock_script}" ]; then
|
||||||
bash -c "${lock_script}"
|
bash -c "${lock_script}"
|
||||||
fi
|
fi
|
||||||
gtklock -s "${HOME}/.config/gtklock/style.css"
|
lock_args=()
|
||||||
|
for s in "/usr/lib/$(uname -m)-linux-gnu/gtklock/"*"-module.so";do
|
||||||
|
lock_args+=("-m")
|
||||||
|
lock_args+=("${s}")
|
||||||
|
done
|
||||||
|
if [ ! -z "${lock_monitor}" ];then
|
||||||
|
lock_args+=("-M")
|
||||||
|
lock_args+=("${lock_monitor}")
|
||||||
|
fi
|
||||||
|
gtklock -s "${HOME}/.config/gtklock/style.css" "${lock_args[@]}"
|
||||||
if [ -f "${unlock_script}" ]; then
|
if [ -f "${unlock_script}" ]; then
|
||||||
bash -c "${unlock_script}"
|
bash -c "${unlock_script}"
|
||||||
fi
|
fi
|
||||||
|
|
14
debian/changelog
vendored
14
debian/changelog
vendored
|
@ -1,3 +1,17 @@
|
||||||
|
sway-profiles (0.3.10) unstable; urgency=medium
|
||||||
|
|
||||||
|
* better support for gtklock modules
|
||||||
|
|
||||||
|
-- Penelope Gwen <penelope@pogmom.me> Fri, 28 Feb 2025 00:47:10 +0000
|
||||||
|
|
||||||
|
sway-profiles (0.3.9) unstable; urgency=medium
|
||||||
|
|
||||||
|
* support for gtklock modules
|
||||||
|
* support for gtklock preferred monitor by setting 'lock_monitor' variable in config
|
||||||
|
* support for config.d
|
||||||
|
|
||||||
|
-- Penelope Gwen <support@pogmom.me> Wed, 26 Feb 2025 18:24:28 +0000
|
||||||
|
|
||||||
sway-profiles (0.3.8) unstable; urgency=medium
|
sway-profiles (0.3.8) unstable; urgency=medium
|
||||||
|
|
||||||
* sp-wallpaper now handles creation of lockscreen wallpapers for faster locking
|
* sp-wallpaper now handles creation of lockscreen wallpapers for faster locking
|
||||||
|
|
2
debian/control
vendored
2
debian/control
vendored
|
@ -1,7 +1,7 @@
|
||||||
Source: sway-profiles
|
Source: sway-profiles
|
||||||
Section: X11
|
Section: X11
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Penelope Gwen <support@pogmom.me>
|
Maintainer: Penelope Gwen <penelope@pogmom.me>
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
debhelper-compat (= 13),
|
debhelper-compat (= 13),
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
|
|
||||||
conf_dir="$HOME/.config/sway-profiles"
|
conf_dir="$HOME/.config/sway-profiles"
|
||||||
cache_dir="$HOME/.cache/sway-profiles"
|
cache_dir="$HOME/.cache/sway-profiles"
|
||||||
|
source "${conf_dir}/config"
|
||||||
|
for c in "${conf_dir}/config.d/"*;do
|
||||||
|
source "${c}"
|
||||||
|
done
|
||||||
|
|
||||||
mkdir -p "${cache_dir}/"{displays,lock,screenshots}
|
mkdir -p "${cache_dir}/"{displays,lock,screenshots}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue