sdhand / x11fs Goto Github PK
View Code? Open in Web Editor NEWA tool for manipulating X windows
License: BSD 3-Clause "New" or "Revised" License
A tool for manipulating X windows
License: BSD 3-Clause "New" or "Revised" License
To clarify what I mean,
When I cat $X11FS/event
to watch events stream in, if I try to interrupt the stream by passing SIGINT
through ^C
, the stream does not stop until another event happens.
Similarly, when I increase the border-width of a window (this is under dwm
), the width effect does not take place until the window actually goes out of sight (e.g., by switching views or removing the window from the current tags) and is brought back.
Ideally, all effects should be immediate.
I suggest to reuse a higher level build system than your current small make file so that powerful checks for software features will become easier.
@sdhand, I could not find a way of contacting you outside Github, so I'll post this as an issue here (feel free to email me in response or query me on Freenode).
I was wondering what your plans for future development of x11fs are. Do you have a plan of what you would like to see added and what kind of vision you have for the project?
Would you like to add more error handling for return values from functions like the following?
How we are supposed to handle errors when something wrong happens from the shell script level?
Let's say we want to move window like so:
echo 100 > $X11FS/$WID/geometry/y
however some internal x11 error occurs.
Checking #?
does not make any sense since that's clearly not the cat's fault here.
@ix mentioned that he had some trouble with the way handling ignored windows works when attempting to switch from wmutils.
The exact issue happened when making a focus changing script. As listing the mountpoint shows every window, including ignored ones (overrride_redirect = true), and unmapped windows. This means when finding a new window to focus, instead of just picking the next id from the list he had to first go and check if that window was unmapped or ignored, and if it was, go and get a new id. Obviously this is quite a lot of messy code for something that should arguably be fairly simple. Contrast this to wmutils, where you can choose to list every window, just windows which aren't unmapped or ignored or only windows which are. I was wondering if would be possible to make this sort of thing easier, and am interested in hearing people's point of view on the matter.
As far as I see we have 3 options:
/<winid>
or /.<winid>
.If anyone has any strong opinions on which option to go for, or any other ideas, please tell me.
Thanks.
Not sure if this is a feature-creep thing or out of scope, but it would be nice if x11fs supported changing and viewing the clipboard buffers.
Say, ~/.x/clip/{primary,secondary,clipboard}
.
The freenode channel is dead, the links to wmutils are dead too. It's still on fuse2, and the pull request viable for merging was well, not. This begs the question - is this repository still maintained?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.