Add support for directories with spaces when launching the
scratchpad-terminal.
NOTE: The exact same command but with 6 backlashes instead of 8 seems to
work just fine. That makes no sense in my head. Either I'm missing
something or there is a bug in the escaping of backslashes in i3.
Open the scratchpad-terminal in the same working directory as the
current window. This makes sense since I use it for small and quick
tasks that often need to take place in the same place.
Start the terminal in a separate workspace before switching back so that
the window does not break the workspaces layout or its content.
The script has to wait shortly so that the window is "done" (made
floating, sticky, etc.). This is a very dirty hack and should be
replaced in the future.
Combine keyboard related commands to have control over the order of
execution. Sometimes the layout was not set properly since xmodmap takes
a while an then xcape gets messed up.
Add and rephrased option comments.
unset CDABLE_VARS since it only works with cd and thus leads to problems
when trying to use the notation with other programs (since it became a
habit)
Set new options.
Instead of using an own xkb layout, modify the layout with xmodmap.
Use xcape to use Caps_Lock as Ctrl and Escape depending on if it was
pressed in combination vs alone.
Add hints for xinput.
Add functions comp-conf and comp-source heavily inspired by romkatvs
jit & jit-source.
Replace every call to source with comp-source.
Remove existence check since it is done in comp-source.
Replace still existing readable checks with existence checks.
Add hint if reboot is necessary after updating.
Add alias to grep a date string.
Always scale images opened with feh to fit the window.
Add alias to open a "temporary" shell in alternate mode that does not
mess with the scrollback history.
When restarting i3 check for connected second monitor: scale it and
restart polybar if there is one.
Put polybar tray on the main monitor.
Do not kill polybar and relaunch it when restarting i3, but restart it
using ipc (much faster).
Switch from gnome-terminal to st (see fork on github).
Open new terminal by default in the same working-dir as current window.
Modify scratchpad-terminal to work with every terminal.
Use Github credentials when in Projects/github folder.
All other custom github projects are stored in user.config.
Use 8 spaces for tabs to see whitespace error in git diffs.