Coder Social home page Coder Social logo

soft / run-or-raise Goto Github PK

View Code? Open in Web Editor NEW
63.0 6.0 5.0 73 KB

Utility for launching applications or focusing their windows

Home Page: https://soft.github.io/run-or-raise/

License: GNU General Public License v3.0

Rust 96.90% Makefile 3.10%
utility shortcuts rust window-management application-launcher x11 work-flow xbindkeys shortcut

run-or-raise's People

Contributors

soft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

run-or-raise's Issues

Feature request: cycle through existing windows

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).

Cannot start neovide

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.

Fails to build on Fedora 36

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
`

Refuses to raise certain applications

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!

Switching workspaces when raising an application on another workspace

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.