Commit Graph

1455 Commits

Author SHA1 Message Date
druckdev
d44f488b30 Added credit 2020-08-04 06:08:19 +02:00
druckdev
5e5ec4098a Do not always pull submodules
Stop always recursively pulling submodules too, since it annoys me and
if it is important for a project, it will probably stand in the README.
2020-08-04 06:02:30 +02:00
druckdev
83bfec7bbf Update submodules
Update dotbot to v1.17.1
Update zsh-async to v1.8.3
Update zsh-syntax-highlighting to latest commit (2d60a47cc)
2020-08-04 05:54:15 +02:00
druckdev
be3e217231 Check for certain commands before using
Check for existence of certain commands like nvim before using them in
aliases or env vars like EDITOR.
2020-08-04 04:49:30 +02:00
druckdev
066d8e9f0e Make adding to PATH safer 2020-08-04 04:39:00 +02:00
druckdev
5771a7d18f Create zsh_history location if nonexistent 2020-08-04 04:14:48 +02:00
druckdev
f5259b5505 Add fuzzy finder
Add fzf as submodule.
Source it keybindings and completion files.
Adjust dotbot install config to pull fzf binary.
Add symlink to its binary.
2020-08-04 02:54:05 +02:00
druckdev
074ea3382a Add .local/bin to PATH 2020-08-04 02:51:36 +02:00
druckdev
abb79d740c Update tmux plugins 2020-08-04 02:50:08 +02:00
druckdev
386d689928 Add tmux plugins as git submodules 2020-08-04 02:38:47 +02:00
druckdev
4a99abf72d Do not hardcode vim path 2020-08-03 23:53:14 +02:00
druckdev
35b94d7211 Update tpm 2020-08-02 16:33:17 +02:00
druckdev
0c5738896b Add vim plugins
Add vim-plug.
Add vim-gitgutter and coc.nvim.
Shorten some lines to 80 chars.
2020-08-02 16:24:08 +02:00
druckdev
780dcce32c Vim keybindings
Set leader key.
Add bindings for jumping on the same indentation level.
Add bindings for more comfortable split view navigation.
2020-07-31 18:02:13 +02:00
druckdev
e8eaec0798 Add function for safe removal of external HDDs
Add zsh function that can be used for safely removing external HDDs
since only unmounting them will not make them stop spinning.
2020-07-31 16:41:57 +02:00
druckdev
158a1c757d Execute ls when enter is pressed with empty buffer 2020-07-31 16:38:38 +02:00
druckdev
a9955af675 Add git log alias
Add alias that displays git log in a colored graph
2020-07-31 16:36:17 +02:00
druckdev
3e87ce3fb6 Set zsh option
Substitute aliases internally before completion.
2020-07-31 16:35:02 +02:00
druckdev
bf1dc0c7c1 Cleanup
Use better/more readable version of the command that starts the
scratchpad-terminal.
i3 seems to pass the exec arguments to /bin/sh so adding another call
was redundant.
2020-07-14 16:26:09 +02:00
druckdev
20b9e3c2a8 Show workspace name instead of index
By that workspaces with no indices are displayed as their name instead
of "-1".
2020-07-14 14:33:17 +02:00
druckdev
c44dea2beb Add support for directories with spaces
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.
2020-07-14 14:28:50 +02:00
druckdev
c4d4721c0c Scratchpad-terminal changes
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.
2020-07-03 02:51:05 +02:00
druckdev
6e9dc46fab Add loading of direnv 2020-07-03 02:07:16 +02:00
druckdev
100882f912 Combine keyboard commands
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.
2020-07-03 02:04:55 +02:00
druckdev
843d51b415 Fix bug that occurs when dirs contain spaces
When one of the parent directories contain spaces, the zle -M gets to
many arguments and complains. Quoting them solves this bug.
2020-07-03 01:59:16 +02:00
druckdev
da474b7899 Whitespace changes
Delete unnecessary indentation and convert all spaces to tabs.
2020-06-30 04:10:47 +02:00
druckdev
a180a09f6f Make sure that the terminfo values are valid 2020-06-30 03:54:42 +02:00
druckdev
2ab21674b0 Switch cursor style depending on keymap 2020-06-30 03:44:11 +02:00
druckdev
658698f66d Remove not properly working selection bindings 2020-06-30 03:15:10 +02:00
druckdev
dad05f4d68 Autoload and bind run-help 2020-06-30 03:08:36 +02:00
druckdev
e8b8c27369 No duplicate completion for diff programs 2020-06-30 03:07:00 +02:00
druckdev
d50eb4a506 Reworked zsh options
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.
2020-06-30 03:04:22 +02:00
druckdev
2d2ca2dc6a Rulers and spellcheck in commits 2020-06-30 02:47:47 +02:00
druckdev
2f808717ec Rework keyboard layout
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.
2020-06-30 02:42:23 +02:00
druckdev
a06182153c Compile modules before sourcing them
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.
2020-06-28 18:32:11 +02:00
druckdev
a53271be46 Different cursor styles also in TMUX
Set cursor style depending on the current mode also in TMUX.
2020-06-28 17:45:11 +02:00
druckdev
1c91a32ef9 Start gnome-keyring with window manager
Replace calling gnome-keyring-daemon in every zsh instance with just
sourcing the file the daemon returns on startup in i3.
TODO: Use pam for that
2020-06-27 08:20:48 +02:00
druckdev
e668feb9db Update p10k to v1.11.0
Update powerlevel10k to v1.11.0.
Include patch of applied changes to the configuration created by the
wizard.
2020-06-26 00:03:57 +02:00
druckdev
d56da06737 Add terminfo entries for some keybindings
To support the same keybindings under st, use the terminfo entries.
2020-06-25 23:55:35 +02:00
druckdev
7526a5530b Keep variable local 2020-06-25 23:54:53 +02:00
druckdev
d9de21efce Include config.ini into conf tool 2020-06-25 23:54:18 +02:00
druckdev
b3ad3a48c5 Add aliases
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.
2020-06-25 23:52:03 +02:00
druckdev
d8b40ce427 Display playing media information 2020-06-25 23:26:28 +02:00
druckdev
6cdabb78be Multi monitor support
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).
2020-06-25 23:20:08 +02:00
druckdev
0ca808f415 Use dircolors in st. 2020-06-25 23:10:06 +02:00
druckdev
e7427ba925 Add scripts collection
Add a couple of utility scripts.
2020-06-24 16:56:47 +02:00
druckdev
31a4bc0768 Use st as terminal
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.
2020-06-24 16:05:34 +02:00
druckdev
2c2baa7187 User management and tabs
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.
2020-06-24 15:39:04 +02:00
druckdev
e7d8ed55ed added bluetooth module; replaced bars with ramps 2020-04-28 01:57:04 +02:00
druckdev
758b6e5713 multi monitor support; auto reload config 2020-04-28 01:47:55 +02:00