On 2024/11/08 15:46, Holger Schröder wrote:
> Hi.
> 
> Please add devilspie2 to the portstree, a Lua-based window matching utility
> 
> https://www.nongnu.org/devilspie2/
> 
> 
> Thanks and Greetings from Germany
> 
> Holger....
> 
> 

Here's a port which compiles, but with some simple test programs it
doesn't seem to work for me (it recognises windows, but actions like
minimize/maximize don't do anything).

Perhaps someone using another wm (I use i3) might like to give it a
spin.

$ cat .config/devilspie2/test.lua
debug_print("Window Name: "..   get_window_name());
debug_print("Application name: "..get_application_name())

if (get_window_name()=="xterm") then
    debug_print("maximise xterm")
    maximize()
end

(and run with "devilspie 2 -d").

Attachment: devilspie2.tgz
Description: application/tar-gz

Reply via email to