View previous topic :: View next topic |
Author |
Message |
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2669
|
Posted: Fri Jan 31, 2025 10:47 am Post subject: Wayland OSD clock? |
|
|
I'm looking for something that will be on my screen but will be transparent and not take focus to show me the time and maybe some other notifications, but most importantly, time. I don't want status bars and similar. Currently I have a keybind in Hyprland to invoke SwayOSD that displays the output of date as an OSD message but I don't find that very convenient.
Can somebody point me to something that supports Wayland? Or give me an idea how to achieve that?
Best Regards,
Georgi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3905 Location: Rasi, Finland
|
Posted: Fri Jan 31, 2025 11:30 am Post subject: Re: Wayland OSD clock? |
|
|
logrusx wrote: | I don't want status bars and similar. | Maybe not the answer you're looking for, but yambar is very light on resources. Maybe you could configure it so that it only displays time? _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2669
|
Posted: Fri Jan 31, 2025 11:43 am Post subject: Re: Wayland OSD clock? |
|
|
Zucca wrote: | logrusx wrote: | I don't want status bars and similar. | Maybe not the answer you're looking for, but yambar is very light on resources. Maybe you could configure it so that it only displays time? |
Thanks, I'll check it out. In the mean time I found this:
https://git.sr.ht/~proycon/wayout
It works like that:
Code: | while :; do date +%H:%M:%S; sleep 1; done | wayout --feed-line --layer overlay & |
I'm still tinkering with it, but exec-once of the above line in hyprland.conf should suffice. If I figure out how to position it where I want it... :)
And you can find it packaged here, if you're interested: https://github.com/logrusx/gentoo/tree/master/gui-apps/wayout
Best Regards,
Georgi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3905 Location: Rasi, Finland
|
Posted: Fri Jan 31, 2025 11:53 am Post subject: |
|
|
Nice.
I could use wayout to display cal -w3m output instead of a terminal window. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2669
|
Posted: Fri Jan 31, 2025 12:28 pm Post subject: |
|
|
Zucca wrote: | Nice.
I could use wayout to display cal -w3m output instead of a terminal window. |
Unfortunately only predefined locations are available: top, bottom, left, right and their corresponding combinations. Also something like color inversion or blurring is not available so sometimes the text won't be visible depending on the background.
Best Regards,
Georgi |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3905 Location: Rasi, Finland
|
Posted: Fri Jan 31, 2025 12:47 pm Post subject: |
|
|
I think I could give it a try anyways. Doesn't hurt to test it. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2669
|
Posted: Fri Jan 31, 2025 1:07 pm Post subject: |
|
|
Choose the appropriate layer. For me it's top or overlay as be it fixed poisons, it still allows me to put it over windows headers and I want to see it all the time. For you it might be appropriate not to alter it if you want to just trigger it by a hot key on an empty screen. Otherwise it's going to cover a lot of what you're doing.
Best Regards,
Georgi |
|
Back to top |
|
|
|