soft / run-or-raise Goto Github PK
View Code? Open in Web Editor NEWUtility for launching applications or focusing their windows
Home Page: https://soft.github.io/run-or-raise/
License: GNU General Public License v3.0
Utility for launching applications or focusing their windows
Home Page: https://soft.github.io/run-or-raise/
License: GNU General Public License v3.0
Hi, first of all thank you for this tool.
Would it be feasible to make the program cycle through all the windows matching the given condition?
I tried to fiddle with the code but I'm just learning Rust (and don't have a clue about X11).
The following is working fine
run-or-raise 'class = "neovide"' neovide '--maximized'
Now I want to add: -listen '/tmp/nvimsocket
for neovim
, and tried
run-or-raise 'class = "neovide"' neovide -- "--maximized -- --listen /tmp/nvimsocket"
but nothing happens.
Not sure if I am making a mistake here.
When trying to build Run or Raise with cargo, the build always fails as follows. I am running Rust version 1.61.0 on Fedora 36.
$ rustc --version rustc 1.61.0 (Fedora 1.61.0-2.fc36)
error: linking with
cc` failed: exit status: 1
|
= note: "cc" "-m64" "/tmp/cargo-installwdRHpE/release/deps/run_or_raise-3058fc70b4164559.run_or_raise.538db077-cgu.3.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-installwdRHpE/release/deps" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,--end-group" "-Wl,-Bstatic" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-77561ea614728171.rlib" "-Wl,-Bdynamic" "-lxcb" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-installwdRHpE/release/deps/run_or_raise-3058fc70b4164559" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
= note: /usr/bin/ld: cannot find -lxcb
collect2: error: ld returned 1 exit status
error: could not compile run-or-raise
due to previous error
error: failed to compile run-or-raise v0.3.4 (https://github.com/Soft/run-or-raise.git#64b34c5e)
, intermediate artifacts can be found at /tmp/cargo-installwdRHpE
`
Thanks very much for building this—I can see it being very useful/fitting in well with my workflow.
In fact, I was especially looking forward to using run-or-raise
with a particular application: the Zoom video-chat client, which I frequently lose track of across my different desktops.
Unfortunately, run-or-raise doesn't initially seem to work with Zoom, even though it works well with other apps. The "run" portion works fine, but the "raise" does not have any effect. I can tell that I'm correctly targeting the Zoom window because the "run" half of the command does not run (the way it would if I were not targeting a valid window). But the Zoom window isn't focused or raised in any way.
Any idea what the issue could be?
I'm running the linux version of the Zoom client on Arch Linux in case that is relevant (though, like I said, I'm able to use run-or-raise with other clients without any trouble).
Thanks again for this!
First, thank you for an excellent tool. It's exactly what I was looking for.
I'm not sure if this is supposed to work, but I'm running standard PopOS! and Gnome and when I raise an application in another workspace, it does not change to that workspace and shows the application.
It does raise the application as long as I'm in the same workspace.
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.