Comments (4)
from core.
Cheers.
Yeah, I'll look into it... though it looks like `xmmv' was removed in 74badd. I come from i3 so I'm sure I'll manage, as I rarely use the mouse, but I was going through peoples' dotfiles when I noticed it.
from core.
Jay wrote:
Cheers.
Yeah, I'll look into it... though it looks like `xmmv' was removed in 74badd.
I come from i3 so I'm sure I'll manage, as I rarely use the mouse, but I was
going through peoples' dotfiles when I noticed it.
After reading a bit through sxhkd
source code, it looks like you can make it
write the pointer's coordinates to a socket, using a formatted string ('X' and
'Y' will be replaced by the coordinates, like "%i %i" before the update).
That will be hard to use correctly with wmutils
, but it is perfect for bspwm
which reads commands from a socket. The user only has to tell "start
executing commands from the socket" and "stop executing commands from the
socket" (namely, bspc -g/bspc -u).
There might be a solution working with wmutils
, using a wrapper script;
something amongst those lines:
#!/bin/sh
MAGIC=0xdeadca7
SOCKET=/tmp/sxhkd.sock
tail -n0 -f $SOCKET | while read cmd; do
test "$cmd" = "$MAGIC" && exit 0 || $cmd
done
Running the script will start moving/resizing (depending in the template given
to sxhkd
). Stopping the movement would be as easy as:
echo 0xdeadca7 > /tmp/sxhkd.sock
Disclaimer: I didn't test anything, but I see no reason why it would fail.
from core.
Closed as not an issue.
from core.
Related Issues (20)
- chwso doesn't appear to work HOT 2
- Wayland port? HOT 5
- pfw : focus cannot set HOT 5
- pfw returns window ID not present in list returned by lsw. HOT 9
- Add xqp to wmutils HOT 4
- erratic behaviour in wtp / wmv / wrs HOT 14
- wew returns incorrect data
- Make a new release? HOT 2
- Cannot focus windows HOT 2
- Documentation wrt. IRC channel HOT 4
- util.c fatal error. HOT 4
- Provide static binaries. HOT 5
- DWM support HOT 2
- Get current border color of a window? HOT 3
- cannot find -lxcb-cursor HOT 2
- error trying to install wmutils HOT 2
- ignore bar to use tile or switch-grid HOT 3
- Man pages for `pdw`seems to be missing
- atomx: WM_CLASS only returns the instance value (not class) HOT 2
- wmv has no effect HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.