Do not follow this link

~proycon/wayout

Output simple text to a wayland desktop widget
meson.build: resolve deprecation warnings
Support static output again

clone

read-only
https://git.sr.ht/~proycon/wayout
read/write
git@git.sr.ht:~proycon/wayout

You can also use your local clone with git send-email.

#wayout

Wayout takes text from standard input and outputs it to a desktop-widget on Wayland desktops. Periodic updates are supported; e.g. newline separated input or any other delimiter of choice. We call this a feed. The desktop widget can be shown either on top (OSD-like functionality) or below other windows.

A Wayland compositor must implement the Layer-Shell and XDG-Output for wayout to work.

#Features

  • Allow updating from standard input at a regular interval; custom delimiters
  • Configurable colours/border/position/fonts
  • Supports the pango markup language for text markup/colours.

#Building

wayout depends on Wayland, Wayland protocols, Cairo and Pango.

To build this program you will need a C compiler, the meson & ninja build system and scdoc to generate the manpage.

git clone https://git.sr.ht/~proycon/wayout
cd wayout
meson build
ninja -C build
sudo ninja -C build install

#Usage

Static example for a calendar:

$ cal | wayout --width 640 --height 480

Example to use wayout as a simple digital clock using --feed-line:

$ while; do date +%H:%M:%S; sleep 1; done | wayout --feed-line

You can use the pango markup language for text markup and colours:

$ echo "<b>bold</b>\n<span foreground=\"red\">red</span>" | wayout

#Troubleshooting

  • Q: I'm using wayout from a running pipe and don't see any update.
  • A: The default mode is static and won't show until EOF is reached. For a dynamically updating feed, specify one of --feed-line, --feed-par or --feed-delimiter.

#Contributing

Contributions are welcome! Code contributions can be made as part of the Sxmo project by sending patches to our mailing list at ~mil/sxmo-devel@lists.sr.ht . See here for further instructions.

#Licensing

wayout is licensed under the GPLv3.

The contents of the protocol directory are licensed differently. Please see the header of the files for more information.

#Authors

Wayout is for a large part derived from wlclock by Leon Plickat leonhenrik.plickat@stud.uni-goettingen.de Modifications to this were added by Sxmo developers

Do not follow this link