Comments (9)
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.
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.
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.
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.
Thank you! I'll test this when I next have a chance and let you know
from i3-restore.
Hey @mixmix. Were you able to give this a try yet?
from i3-restore.
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.
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.
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)
- Error trying to save workspaces HOT 5
- Add to README: what is the difference from integrated i3-save-tree HOT 2
- README: add difference from i3-resurrect HOT 1
- README: Add if the session is restored correctly when I have multiple displays HOT 4
- README: please add about root terminal windows HOT 2
- README: please add about kitty terminal sessions HOT 3
- Firefox windows restored on invalid displays HOT 20
- Minor potential readme issue HOT 3
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 i3-restore.