xosd_set_h...tal_offset(3)

πŸ“¦
version 2.2.15 Β· 2 versions
, in arch rolling, debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay bestie, this is the xosd_set_h...tal_offset(3) page from the Library Functions Manual, and it's giving very niche Unix glow-up energy. The function in question? xosd_set_horizontal_offset β€” and what does it do? Change the indent of the XOSD window. that's the whole vibe. πŸ’…

🌸 SYNOPSIS 🌸

#include <xosd.h>

int xosd_set_horizontal_offset (xosd* osd, int offset);

πŸ’– DESCRIPTION πŸ’–

xosd_set_horizontal_offset changes the number of pixels the XOSD window is indent from the left of the screen. lowkey simple, highkey powerful. it's literally adjusting that horizontal offset, no cap. ✨

πŸŽ€ ARGUMENTS πŸŽ€

  • osd β€” the on-screen display object to act on. this is the main character you're doing the thing to. 🫢
  • offset β€” indent from the left of the screen, in pixels. yes, pixels. πŸ’–

πŸ”₯ RETURN VALUE πŸ”₯

On success, a zero is returned. On error, -1 is returned. so if you get 0, slay; if you get -1, not slay, check yourself bestie. 😭

πŸ¦‹ SEE ALSO πŸ¦‹


xoxo, this page is from the X OSD Library, dated 2002-06-25. go off and indent responsibly, bestie. πŸ’œπŸŒˆ