Comments (6)
Here is a idea we can have to_swallow
, to_vomit
, to_toggle
. Which will be list of WID. We can add them using flags and do the operation all at once. (Seems better to me).
from pidswallow.
For example you can see: https://github.com/liupold/dls
from pidswallow.
Huh that's a really great idea! I'll see what I can do
from pidswallow.
How should --loop
be handled, though? Shouldn't it ignore all other actions and go straight to loop mode? I can't see a scenario where I'd combine --loop
with other action flags.
from pidswallow.
Swallow what is in to_swallow
toggle what is in to_toggle
vomit what's in to_vomit
then check if loop is passed (flag) if so run the loop.
If I run
pidswallow -t WID -v WID -s WID #this will do nothing
pidswallow -t WID -s WID #this will vomit the window
OR we can just use a pre action case, (similar case statement to before but just set '-V/-g' this will make more sense.
pidswallow -t WID -v WID -s WID #this will swallow
pidswallow -t WID -s WID #this will swallow
from pidswallow.
check this out: https://github.com/Liupold/pidswallow/tree/ordered-flag-pre-check
from pidswallow.
Related Issues (20)
- terminal getting swallowed using dmenu HOT 3
- Does not work with urxvt daemon HOT 19
- No such file or directory HOT 11
- Unable to swallow Konsole on Plasma HOT 10
- Plasma menu may be handled incorrectly in specific instances HOT 2
- XFCE terminal won't work because every instance shares the same PID HOT 9
- Sub-windows re-swallowing an alraedy swallowed parent HOT 5
- Change "sallower" -> "swallower" in repository description HOT 1
- Issue with dmenu HOT 2
- Jumping desktop focus. HOT 8
- Configuration for re-focusing parent window when vomiting child HOT 11
- xprop -spy doesn't detect window changes HOT 23
- Daemon Based Terminal Will not work HOT 4
- Instructions for Xfce Terminal don't work globally. HOT 4
- not working with sxiv HOT 1
- Shell-based swallowing doesn't always work correctly in Alacritty
- Swallow stops after closing a window HOT 6
- Doesn't work if sxhkd is run as a systemd service. HOT 3
- We shouldn't rely on pstree output to get parent processes HOT 5
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 pidswallow.