https://github.com/dahead/i3wm-tools
Various tools for i3wm. For example scripts to save and load the i3wm workspace layout.
https://github.com/dahead/i3wm-tools
bash i3wm linux
Last synced: 2 months ago
JSON representation
Various tools for i3wm. For example scripts to save and load the i3wm workspace layout.
- Host: GitHub
- URL: https://github.com/dahead/i3wm-tools
- Owner: dahead
- License: mit
- Created: 2019-12-31T12:55:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-31T13:09:50.000Z (over 6 years ago)
- Last Synced: 2025-08-08T10:46:00.681Z (11 months ago)
- Topics: bash, i3wm, linux
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# i3wm-load.sh & i3wm-save.sh
The *i3wm-save.sh* script saves the workspaces N (1-10) to a json file.
The *i3wm-load.sh* script loads that configuration into i3wm.
Note that these json files need further editing according to the i3wm documentation:
https://i3wm.org/docs/layout-saving.html
For easier reloading of the layout you can add something like that to your i3 config:
```
# restore workspace layout
bindsym $mod+g exec ~/i3wm-load.sh
```
For beeing able to run "i3-save-tree" you need to install "perl-anyevent-i3":
https://www.archlinux.org/packages/?name=perl-anyevent-i3