Transparency and saved window layout, is it possible?
Is it possible to have transparent terminal windows when I use the restore window layout script?
Is it possible to have transparent terminal windows when I use the restore window layout script?
What you can do is make every terminal window have the same transparency by automatically setting it transparent when its started.
Example
transset -i windowid .numbernumber will set window id to numbernumber percent transperent
so a shell function called trans that runs transset -i on the result of xdotool getactivewindow and the argument to the function
in fish shell transset -i (xdotool getactivewindow) .{$argv}
is sufficient to enable you to run trans numbernumber and change the transparency of the current application
In your i3config then you may add a line like so
for_window [class="Lxterminal"] exec "trans .80"
with the proper window class for your application and the desired transparency
This means for every window which matches the window class run the desired command or command.
You absolutely cannot restore anything about the windows. The layout functionality merely creates placeholders to be replaced by your windows as you create them. Its your responsibility to open the windows and do whatever needs to be done to them.
You are better off configuring this in your compton config if you use compton see https://gist.github.com/michaelmrose/9ae00854ab5674146256
Asked: 2014-06-20 08:29:26 +0000
Seen: 797 times
Last updated: Jul 03 '14
Do you mean the "placeholder" windows? If so you should get the window details (name, class, role) with xprop and instruct your compositor (compton?) to recognize them and make transparent. I haven't yet used the restore layout feature but from what I have seen the placeholde windows aren't terms