Replies: 10 comments 4 replies
-
This should be fairly trivial to implement as an sfwbar module. Looking at
swayidle it handles the ext-idle-notifier events as well a some logind
events, are you looking for support for both of these?
…On Fri, 27 Sept 2024, 17:15 Thi Garlet, ***@***.***> wrote:
Is it possible to add an idle timeout trigger, and one resume?
Then we could replace swayidle and save some memory.
Thanks
—
Reply to this email directly, view it on GitHub
<#234>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFB2RQ755FS7QSFGAGTZYWAA7AVCNFSM6AAAAABO7PDPLCVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGI2DIMZYGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I implemented a very basic idled trigger support. In the latest git version, if you load an |
Beta Was this translation helpful? Give feedback.
-
Currently, you can only have one idle timeout, but it would be easy to
extend it to multiple timeouts.
…On Sun, 13 Oct 2024, 12:10 knm100, ***@***.***> wrote:
Is it possible to implement the functionality of the following code
through configuration?
swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'wlopm --off \*' \
resume 'wlopm --on \*' \
before-sleep 'swaylock -f -c 000000' >/dev/null 2>&1 &
—
Reply to this email directly, view it on GitHub
<#234 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFADDH2MFHTDFIFZSILZ3JIJXAVCNFSM6AAAAABO7PDPLCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOJSG43DIOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
How should I replace the swayidle in the following code with idle.widget?
|
Beta Was this translation helpful? Give feedback.
-
Function("SfwBarInit") { TriggerAction "timer1", Exec "swaylock -f -c 00000" |
Beta Was this translation helpful? Give feedback.
-
Did you load the offshore module?
Module("idle")
…On Fri, 1 Nov 2024, 04:04 knm100, ***@***.***> wrote:
I tried to add this code to sfwbar.config or idle.widget, after 15
minutes, nothing happened with either sfwbar.config and idle.widget .
—
Reply to this email directly, view it on GitHub
<#234 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFH32A3ZIGKWESZMC3LZ6L4U3AVCNFSM6AAAAABO7PDPLCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJRHAZDAMY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Idle module.
…On Fri, 1 Nov 2024, 06:46 Lev Babiev, ***@***.***> wrote:
Did you load the offshore module?
Module("idle")
On Fri, 1 Nov 2024, 04:04 knm100, ***@***.***> wrote:
> I tried to add this code to sfwbar.config or idle.widget, after 15
> minutes, nothing happened with either sfwbar.config and idle.widget .
>
> —
> Reply to this email directly, view it on GitHub
> <#234 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ASHPFFH32A3ZIGKWESZMC3LZ6L4U3AVCNFSM6AAAAABO7PDPLCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJRHAZDAMY>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
I'm sure I've loaded the idle module. |
Beta Was this translation helpful? Give feedback.
-
Can you post your config please?
…On Fri, 1 Nov 2024, 07:23 knm100, ***@***.***> wrote:
I'm sure I've loaded the idle module.
—
Reply to this email directly, view it on GitHub
<#234 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHPFFDSZ4M6HLEDTTDSOPLZ6MT65AVCNFSM6AAAAABO7PDPLCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJRHEZTCNI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I am sorry, I didn't have the idle module loaded, now it work. thank you for help! |
Beta Was this translation helpful? Give feedback.
-
Is it possible to add an idle timeout trigger, and one resume?
Then we could replace swayidle and save some memory.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions