Commit Graph

63 Commits

Author SHA1 Message Date
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