Daily Shaarli

All links of one day in a single page.

12 augusti 2023

Draw a line on top of your screen

How could we go about to draw a straight line (vertical or horizontal) on top of any other window on our Linux desktop? I'm using i3 window manager with picom compositor at present, so I'm primarily interested in solutions that works for that.

I should get back to this question in the future and implement a nicer solution than pango-view

pango-view

Produces a vertical line (actually, more of a vertical box of limited width).
Very easy to make it, just issue the command in a terminal. pango-view was already installed.

$ pango-view --height=99999 --margin=1 --background=red -t ''