...
View Git file | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Warning |
---|
I've disabled the default |
Ricing alttab
Although I do like the way i3
approaches window switching - I do miss the speed of alt-tabbing for switching between the last focused application and the current application (and doing so often). For this I use the very nice alttab. It's in the AUR so once you've enabled AUR (and installed something like pacaur) you can do:
...
Code Block |
---|
# special combo for horizontal split of two windows next to each other
bindsym $mod+x split h, layout splith, focus right, move left, focus left, $con_title
bindsym $mod+Shift+x split h, layout splith, focus left, move right, focus right, $con_title |
The two bindsyms will combine in a split container with the right adjacent window ($mod+x
) or with the adjacent window on the left ($mod+Shift+x
).
...
I've bound it to $mod+slash ("/" key).
Automatic container renaming from selected window
The above method can be used to default any container name to that of (for example) the currently selected window at the time of creating the container. By defining the following config variable:
Code Block | ||
---|---|---|
| ||
set $con_title exec "answer=$(xdotool getwindowfocus getwindowname); i3-msg focus parent, title_format \\"<span foreground='#ff8c85'><b> ⮡$answer</b></span>\\", focus child" |
and appending to our special window combiner bindsyms (see sections above), like this:
Code Block | ||
---|---|---|
| ||
# special combo for horizontal split of two windows next to each other
bindsym $mod+x split h, layout splith, focus right, move left, focus left, $con_title
bindsym $mod+Shift+x split h, layout splith, focus left, move right, focus right, $con_title |
Will cause the container title (created by $mod+x etc.) to be based on the window title of the application selected at the time of container generation.
Changing title behaviour to default for a single container
I've created a simple bindsym shortcut ($mod+Mod1+slash
) to change the container title of a single (selected) container back to i3 default (e.g. T[chromium]
).
Reverting to previous window title behaviour altogether
If you don't like this container title behaviour simply change the $con_title
definition to:
Code Block |
---|
set $con_title focus parent; title_format "<span foreground='#ff8c85'><b> %title</b></span>"; focus child; title_format " %title" |
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/
...