From e19fdbe368745f95719a5e935a3af5212d05cf7e Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Fri, 14 Mar 2025 15:53:53 -0700 Subject: [PATCH] 0.3.13 --- bin/sp-profiles | 7 +++++-- debian/changelog | 6 ++++++ debian/control | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/bin/sp-profiles b/bin/sp-profiles index b8046a7..fdfe92f 100755 --- a/bin/sp-profiles +++ b/bin/sp-profiles @@ -5,7 +5,7 @@ source "/usr/lib/sp-functions" get_profile_list case $1 in - next|prev) + next|prev|reload) current_profile=$(cat "${cache_dir}/active_profile") echo ${current_profile} ;;& @@ -17,7 +17,10 @@ case $1 in new_profile=$(( ${current_profile}-1 )) [[ "$new_profile" -eq "-1" ]] && new_profile=3 ;;& - prev|next) + reload) + new_profile=${current_profile} + ;;& + prev|next|reload) op=$(printf "%01d\n" ${new_profile}) ;; *) diff --git a/debian/changelog b/debian/changelog index aea0022..07adc5f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sway-profiles (0.3.13) unstable; urgency=medium + + * added sp-profiles reload + + -- Penelope Gwen Fri, 14 Mar 2025 22:52:33 +0000 + sway-profiles (0.3.12) unstable; urgency=medium * fix variable substitution in configs diff --git a/debian/control b/debian/control index 3547c93..9f7809f 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: sway-profiles Section: X11 Priority: optional -Maintainer: Penelope Gwen +Maintainer: Penelope Gwen Rules-Requires-Root: no Build-Depends: debhelper-compat (= 13),