ChanServ changed the topic of #river to: river - a dynamic tiling Wayland compositor || https://codeberg.org/river/river || channel logs: https://libera.irclog.whitequark.org/river/
notzmv has joined #river
<szgy> one neat thing that I haven't seem people experimenting with in janet is that you can save an image (like with Smalltalk or CommonLisp) that you can load with a specific environment
twelve has joined #river
_whitelogger has joined #river
twelve has quit [Remote host closed the connection]
catman has joined #river
Szadek727 has quit [Quit: off]
<Nosrep> > I'll be very happy when I finally see all of those hacky scripts that just crop a normal screenshot die
<Nosrep> why the hate
Szadek727 has joined #river
Nosrep has quit [Ping timeout: 265 seconds]
Ireozar_ has joined #river
Ireozar has quit [Ping timeout: 260 seconds]
Ireozar_ is now known as Ireozar
Keeto has joined #river
Guest5 has joined #river
Keeto has quit [Client Quit]
Guest5 has quit [Client Quit]
mmarchini has quit [Ping timeout: 244 seconds]
mmarchini has joined #river
notzmv has quit [Ping timeout: 252 seconds]
letherlick has joined #river
letherlick has quit [Ping timeout: 272 seconds]
wereii has quit [Quit: ZNC - https://znc.in]
catman has quit [Remote host closed the connection]
wereii has joined #river
flower_ has joined #river
letherlick has joined #river
letherlick has quit [Client Quit]
flower_ has quit [Quit: Lost terminal]
notzmv has joined #river
flower_ has joined #river
ccha has quit [Quit: WeeChat 4.6.2]
notzmv has quit [Ping timeout: 268 seconds]
ccha has joined #river
ccha has quit [Client Quit]
bitblt has quit [Remote host closed the connection]
ccha has joined #river
bitblt has joined #river
dotdash has joined #river
bitblt_ has joined #river
bitblt has quit [Ping timeout: 276 seconds]
bitblt_ is now known as bitblt
aktina has quit [Ping timeout: 260 seconds]
notchoc has quit [Ping timeout: 252 seconds]
aryak has quit [Ping timeout: 268 seconds]
aryak has joined #river
notchoc has joined #river
aktina has joined #river
<leon-p> because I prefer proper solutions to hacks 🤷
dotdash has quit [Quit: Client closed]
<ifreund> got janet-wayland integrated into janet's event loop
<ifreund> now running the equivalent of wl_display_dispatch() from janet no longer uses blocking IO, and one can connect a REPL to the running wayland client
<leon-p> neat!
ramblurr has quit [Remote host closed the connection]
<ifreund> its all single threaded too, which is pretty cool
<fleischie> river 0.14 rewritten in janet you said? oO
<ifreund> river will always be in a low level language because I care about latency
<ifreund> now, my window manager is probably going to be in janet
<ifreund> being able to do the high level window management logic in a high level language is one of the major motivations for the window management protocol work
twelve has joined #river
twelve has quit [Remote host closed the connection]
ramblurr has joined #river
twelve has joined #river
twelve has quit [Remote host closed the connection]
orangebot has joined #river
<orangebot> Anyone know the right spot to configure default fonts?
<leon-p> orangebot: ~/.config/fontconfig/fonts.conf
<leon-p> you can aliases, f.e. alias "monospace" to your preferred monospace font
<orangebot> Didn't realize that fontconfig was still used by Wayland stuff.
<orangebot> leon-p: thanks for the help
<vyivel> wdym still
<vyivel> what else would it use
<orangebot> ¯\_(ツ)_/¯ Seems like Wayland desktops/WMs need to impliment a lot on it's own where X11 settings were (somewhat) consolidated. Figured fonts were were simmilarly handled by the desktop/WM.
<vyivel> fonts are competely unrelated to display server
<vyivel> completely*
<orangebot> I've never implimented either, so I would not know
<ifreund> vyivel: not on X11 :P
<vyivel> i dont think anything uses xft or whatever it was called anymore
Nosrep has joined #river
<Nosrep> proper solution as in what like only screenshotting what needs to be screenshotted in the first place?
<Nosrep> my screenshot script is very cool because in cropping a normal screenshot it effectively freezes the screen at moment of screenshot
<leon-p> Nosrep: all script solutions fail for cases such as the window being occluded by other windows or not visible at all. that is unavoidable
<leon-p> the new screen-copy stuff allows getting a screenshot of a windows entire rendered image, regardless of whether and how it is currently displayed
pltrz has joined #river
<ifreund> also single window screen sharing
twelve has joined #river
orangebot has quit [Quit: Leaving]
pltrz has quit [Quit: Client closed]
donio has joined #river
<donio> just saw river-window-management-v1.xml in the rwm branch, is it the intention to allow a "window manager client" to have full control over window and keyboard event management?
<donio> i wonder if this might be a possible path for an exwm-workalike for wayland. exwm is an emacs-based X11 WM
twelve has quit [Ping timeout: 248 seconds]
Szadek727 has quit [Quit: off]
Szadek727 has joined #river
<FireFly> hm interesting, after updating to river 0.3.10 (I'm guessing due to the wlroots bump) it seems the scale I set for my display with wlr-randr in my init script gets reset when switching to a tty and back
<leon-p> donio: something like exwm should be possible. The protocol allows full control over window placement, window sizes (with the caveat that the client drawing the window always has the final say in the window size), custom window decoration, window visibility, etc.. You don't have access to raw keyboard events, but you can register keybinds
<leon-p> FireFly: I wonder if the tty switching causes the output to disappear and re-appear. In that case, from river's PoV it would be like you unplugging and re-plugging your screen, so output settings don't carry over
<leon-p> try using kanshi
<FireFly> hm, yeah I should maybe give that a try
<FireFly> mainly interesting that it seems to have changed with the version bump from what I could tell
<donio> leon-p: can you send synthetic keyboard events?
<leon-p> with other protocols kinda
<leon-p> not really keyboard events, but sending text is possible
<leon-p> although sending faked keyboard events is arguably Not Good™ and software should just have a proper scripting interface
<leon-p> if you only care about inputting text though, then either the text-input protocol or one of the various input method protocols may work quite well
letherlick has joined #river
letherlick is now known as lol
lol is now known as Lol
<Nosrep> > the new screen-copy stuff allows getting a screenshot of a windows entire rendered image, regardless of whether and how it is currently displayed
<Nosrep> i see
<Nosrep> i think it's been so long since i've had an actual screenshot app i forgot you could do a whole window
Lol has quit [Quit: Client closed]
derwolf has joined #river
derwolf has quit [Client Quit]
apoorv569 has quit [Ping timeout: 260 seconds]
<ifreund> FireFly: yeah, tty switching is handled differently by wlroots 0.19
<ifreund> kanshi should solve your issue
<ifreund> leon-p: iirc one of exwm's things is making everything use emacs key bindings, which they do with synthetic key events for things like Firefox that aren't configurable enough
<ifreund> donio: I think one should be able to achieve that with the rwm protocol in combination with the wlr-virtual-keyboard protocol
<ifreund> if that doesn't already work I'd be happy to tweak things to make that use case possible
<ifreund> Nosrep: you can also get screenshots that preserve window transparency for example, which wasnt possible before
<ifreund> this is nice for e.g. drop shadows
flower_ has quit [Quit: Lost terminal]
twelve has joined #river
schneid3306 has joined #river