Commit Graph

66 Commits

Author SHA1 Message Date
druckdev
9755823819 bin:zoom-links: Use firefox with zoom profile 2020-11-15 01:30:16 +01:00
druckdev
75a8af2d14 repo: Move fzf to non zsh-dependant location
Since fzf is not really only a zsh plugin this moves it to .local/bin.
I am not quite sure it will stay there.
The submodule was also updated in this process.

Update all links and references.
Add .local/share directory that contains the man pages. By that dotbot
just globs all of them and symlinks them. This makes it more modular and
a bit more transparent on how an installed system looks like, just by
looking through the repo structure.
2020-11-07 03:07:59 +01:00
druckdev
a1990a751c .local/bin:filterHistory: Fix bug and refactor
Fix bug that `cut` only took the second field when splitting on ';'
instead of everything after the first semicolon and thus not properly
handling commands that contain semicolons.

Add die() and hist-sort().
Use here-string instead of process substitution with input redirection.
Rephrase comment.
2020-10-26 15:05:18 +01:00
druckdev
5b088f8822 scripts: Add toggleDock
Add old script that toggles the dock in GNOME.
2020-10-06 03:26:08 +02:00
druckdev
d5efedf872 raw2preview: Refactor and add functionality
Add support for multiple arguments.
Make the code more modular and extendable for other raw formats by
keeping the differentiation code in the main loop and removing the
hardcoded file extension from extractRAW().
Write some of the EXIF tags that the original raw image had into the JPG
like Orientation and some technical details.
2020-10-06 01:03:31 +02:00
druckdev
4cb445c2b5 shell-scripts: Use [[ instead of [ where possible
Replace all occurrences of [ with [[ in bash and zsh scripts and
configs.
Performance wise it makes sense to use the builtin instead of calling an
external command also when from a functionality stand point `test` would
suffice.
2020-10-03 01:29:29 +02:00
druckdev
4d3c9f2cc4 zsh:filterHistory: Escape {B,E}OL markers
Especially the dollar sign is used often making this important. Commands
containing one of both were not deleted properly.
2020-09-24 03:41:48 +02:00
druckdev
f6d1bbb19d git: Add diff-so-fancy as submodule
Instead of relying on diff-so-fancy being installed already deliver it
with these dotfiles.
2020-09-24 02:55:49 +02:00
druckdev
0bd083f760 fzf chooser instead of hardcoded commands
Instead of deleting hardcoded commands in filterHistory, sort commands
by usage and let the user select in fzf. If fzf is not installed, show
the most used ones and let the user select manually.
Keep the first occurence in the history for stuff like autosuggestions.
2020-09-03 11:39:32 +02:00
druckdev
11be8376ae Add description to filterHistory script
Add author, date and description to the filterHistory script.
Fix other author and date notes formatting.
2020-08-25 04:23:57 +02:00
druckdev
c3415cf310 filterHistory improvements
Add existence check for given file. (How did I forget that?)
Create automatic backup in temporary directory and use it to show
overview of deleted commands.
Make sed expression more readable by using double quotes for the whole
regex and escaping the $ instead of a mix between single and double.
2020-08-25 04:07:57 +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
5945f17b08 Fix whitespace error 2020-07-04 02:54:49 +02:00
druckdev
ab01a9a9ce Add check for missing arguments
Another error that occurred when refactoring the script before
committing it. It was like this when I created it. I swear!
2020-06-25 23:06:45 +02:00
druckdev
1a8a41f867 Fix typo
Fix typo that occurred when fixing the capitalization of zoom.
2020-06-24 17:31:53 +00:00
druckdev
e7427ba925 Add scripts collection
Add a couple of utility scripts.
2020-06-24 16:56:47 +02:00