...
Code Block |
---|
bindsym $mod+o exec "APP=\\"KeeWeb\\"; if pgrep -x \\"$APP\\" > /dev/null 2>&1; then i3-msg \\"[class=\\"$APP\\"] scratchpad show\\"; else \\"$APP\\"; fi" |
Save i3 layouts with i3-layout-manager
i3 natively supports saving and loading specific window layouts with the i3-save-tree, however the implementation is not really "user ready" in the sense that you can't use it as is to easily save and load different layouts.
Tomáš Báča wrote a fantastic script that makes this functionality extremely simple to use.
Tip |
---|
Note I've forked this repo and provided a fix (and pull request) to NOT kill sticky windows when loading a layout. You can access my fork with this fix at https://github.com/jtaala/i3-layout-manager |
I find having set/defined layouts really eases managing complex window setups. Often I am working with many windows in some complicated setup (with child window containers of window containers etc.) and want to just get back to something simple(r) - which can be surprisingly tedious
I've also added three layouts (which can be loaded) I use most and have provided bindsyms for each in my i3 config file. These are:
Layout file | Layout Name | Keyboard shortcut | Description |
---|---|---|---|
layout-ALL-TABBED.json | ALL-TABBED | mod+Shift+w | Basic layout with single (root) tab container. Useful for when you have a complex window layout and want to remove all windows and place in simple tabbed layout. |
layout-SPLIT-TWO-TABBED.json | SPLIT-TWO-TABBED | mod+Shift+a | Layout with two root child containers (horizontally split) with each root child container set to be a tabbed container. |
layout-SPLIT-FOUR-TABBED.json | SPLIT-FOUR-TABBED | mod+Shift+s | Layout with four root child containers (screen partitioned into four quarters) with each root child container set to be a tabbed container. |
Info | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
You'll need to have the You can clone the git repo (or even just download the script) and copy (or create a symbolic link) in your system path (I'd suggest /usr/local/bin), like below
and download (somewhere) and copy my layouts above into the
|
References
- https://forum.manjaro.org/t/reversed-scrolling-in-i3-edition/25811
- https://wiki.archlinux.org/index.php/Libinput
- https://wiki.archlinux.org/index.php/Touchpad_Synaptics
- https://wiki.archlinux.org/index.php/Razer_Blade#2018_version
- https://forum.manjaro.org/t/how-disable-bios-beep-like-sound-in-some-applications/17094/5
- https://wiki.archlinux.org/index.php/GNOME/Keyring#PAM_method
- https://i3wm.org/i3status/manpage.html#_disk
- http://duncanlock.net/blog/2013/06/07/how-to-switch-to-compton-for-beautiful-tear-free-compositing-in-xfce/
- http://vadim-kirilchuk-linux.blogspot.com.au/2013/05/swap-file-for-hibernation.html
- https://github.com/DaveDavenport/rofi
- https://wiki.archlinux.org/index.php/Per-application_transparency
- https://forum.manjaro.org/t/manjaro-i3-how-to-use-lightdm-as-lockscreen/42131
- https://www.reddit.com/r/i3wm/comments/7f84ae/is_there_a_way_to_rename_parent_containers/
- https://github.com/klaxalk/i3-layout-manager
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...