Giter VIP home page Giter VIP logo

Comments (9)

jdholtz avatar jdholtz commented on August 16, 2024 1

Sometimes what can happen is that the window title might be different when it is saved. For example, Alacritty changes the title when you ssh (by default). When the terminal starts up again, the window title will be Alacritty. So, after its initial startup, I’ll need to make it start looking by window class instead of title. That’s why it isn’t always restoring exactly correct at the moment.

from i3-restore.

jdholtz avatar jdholtz commented on August 16, 2024

Hi. Thanks for filing this issue!

What is the name of your 2nd workspace? It appears that you have specified special text for the name. I will try to reproduce the error and fix it by using the name of that workspace.

from i3-restore.

jdholtz avatar jdholtz commented on August 16, 2024

Hello @mixmix. I was able to replicate your issue with the information you provided. I switched to a new method when saving workspaces, so hopefully custom workspace names won't be an issue anymore. Can you confirm that this change works by using this branch - https://github.com/jdholtz/i3-restore/tree/save_ws_by_number?

Never mind, "i3-msg workspace number " does not move to the workspace corresponding to the correct name associated with that number.

from i3-restore.

jdholtz avatar jdholtz commented on August 16, 2024

Hey @mixmix. I have successfully fixed this issue. The problem is that you cannot save a file with a slash. Therefore, I just replaced the slash with a placeholder when saving the file. Can you test this branch to make sure it works correctly for you?

from i3-restore.

mixmix avatar mixmix commented on August 16, 2024

Thank you! I'll test this when I next have a chance and let you know

from i3-restore.

jdholtz avatar jdholtz commented on August 16, 2024

Hey @mixmix. Were you able to give this a try yet?

from i3-restore.

mixmix avatar mixmix commented on August 16, 2024

signal-2022-08-12-16-40-30-675.png

Hooray! It managed to open a bunch of things. Like signal, a terminal in the right place, browser with right tabs. It does make these artifacts and in one case failed to open a terminal. Any ideas?

Also please don't feel a need to fix this in any hurry. I would love this, but can totally live without

from i3-restore.

jdholtz avatar jdholtz commented on August 16, 2024

Glad it worked!

I have had that issue with messaging systems that take a long time to start up (Discord and Slack). It has to do with i3 not swallowing the window because the window title is different when it starts.

I have an idea on how to fix that so I’ll try to implement that soon

from i3-restore.

mixmix avatar mixmix commented on August 16, 2024

Oh cool, that's good to know. I am running alacrity as a terminal.... But that should be fast to start up. Unless neovim startup is messing with it?

from i3-restore.

Related Issues (9)

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.