-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store i3 status of workspaces #89
Comments
It should raise |
Let me know if that fixes it. |
yes that fixed it, thank you! |
Version 1.6.0 adds the following bugfixes and features: * Properly tear down subscription socket (#83) * Implement send_tick message and tick event * Add a timeout parameter to the main function * Implement GET_BINDING_MODES * Implement GET_CONFIG * Implement GET_MARKS * Fix pickling of types by fixing a _ReplyType exception (#89) * Add the sticky property
@conrad784 Do you have that script somewhere public? I'm trying to write a script which restores the workspaces after I've docked the notebook so that they are back on the corresponding monitor. |
attention, only working with versions > 1.5.1 altdesktop/i3ipc-python#89
@Nebucatnetzer uploaded my repo https://github.com/conrad784/i3scripts/blob/master/i3plug.py if you succeed in automatically doing that when plugging to docking station I would be interested, put some time in this with my Thinkpad, but I found it still easier to just call my changing resolution manually |
I don't have my notebook with the docking station yet (it will take another month...) So far I found this two articles quite interesting. This one has a script which is very similar to yours: Just found this which looks as well interesting: This is my current script.
It's much less elegant than yours however my idea is to start it by typing "docking" in Rofi and it should do the appropriate action. I know it doesn't have exception handing but for the moment it should be fine. I like your config with the keyboard shortcuts. I got the idea from that it would be nice to have something like in Windows where you can press "Meta+p" to cycle trough the various display options. |
I want to store my current workspace configuration.
Therefore I want to use
pickle
:this will result in an error
This is happening in python{2,3}.
Used version of i3ipc-python: 1.5.1
The text was updated successfully, but these errors were encountered: