Commit graph

1583 commits

Author SHA1 Message Date
b56c33834f Fix repository organization, house cleaning
Added up-to-date install instructions and a simple image to the README.
Added an assets directory to house these things and some notes. Removed
`.gitlab-ci.yml` from being linked to the home directory, it does not
belong there.
2020-02-01 09:09:22 +01:00
68b0219354 Rename bootstrap directory
Renamed bootstrap directory to _bootstrap to conform to default ignore
pattern of autostow.sh, and make it visually clear that this is a
special directory, not one used for the dotfiles itself.
2020-01-30 13:29:03 +01:00
9932202704 Increase autostow.sh version, refactor print statements 2020-01-30 13:24:51 +01:00
bba4e1d71f Fix ignore pattern search on empty ignore variable
The default ignore pattern would not be searched when the additional
variable was kept empty. This fixes it to always seach for the pattern,
regardless of any other variables.
2020-01-30 13:21:01 +01:00
b702158b7c Add central variable setting bootstrap directory
Prepare for moving bootstrap directory to conform to new ignore pattern
of autostow.sh script. Bootstrap directory can be overwritten through
environment variable BOOTSTRAP_DIRECTORY, however for now it still
rigidly requires the existence of an install_packages.sh file and an
autostow.sh file which it wants to execute.
2020-01-30 13:18:36 +01:00
a3a1c4a5bd Add autostow.sh ignore pattern to underscore dirs
autostow.sh will automatically ignore any directories it finds that
begin with an underscore. This will make it possible to remove the
default entires of AUTOSTOW_IGNORED_DIRS variable and thus remove some
of the magic and make autostow.sh behavior more predictable.
2020-01-30 12:51:48 +01:00
4dfb9767ee Add dryrun capability to autostow.sh
Invoking a dry-run with `autostow.sh -n` will simply print out the
directories it would operate on, and those it would ignore and exit.
Useful for debugging, not much more.
2020-01-30 12:50:37 +01:00
ea5ffe8bc5 [nvim] Add keymap to rg through hidden files
Grepping through files is mapped to `<leader>F` but it respects ripgrep's
default settings, which is to ignore files in gitignore and files
hidden. This map still ignores gitignored files, but searches through
hidden ones in addition to normal ones. It is mapped to `<leader><C-F>`,
to signify an 'extra' added to normal grepping (and since it will be
presumably more rarely invoked, justifying the slightly awkward key
combination).
2020-01-30 11:44:44 +01:00
401d4a603a Switch to legacy gmail quickmark
Instead of using new gmail layout, use the old html layout when
accessing it from the qutebrowser quickmark. It works and loads
faster, and the new one can still be switched to from the interface.
2020-01-28 21:20:29 +01:00
1263eaccc6 Add thesaurus search engine to qutebrowser
opening `t [searchterm]` in qutebrowser will go to thesaurus and look up
the corresponding term there.
2020-01-28 21:19:25 +01:00
d85f09ef78 Adjust spell mappings to <leader>Z
More in line with default vim spell mappings, and should not interfere
with anything due to its leader prefixing.

Added <leader>z to quickly fix spelling error cursor is over.
2020-01-27 08:40:20 +01:00
010ccc8284 Add true delete shortcut to vim
Mimicks vifm d for grabbing and cutting, D for true deletion. Works well
to delete a line (e.g. left-over empty) while still keeping last
selection in yank-register. Starts a d-motion, so it can be used with
all motions.
2020-01-27 08:38:25 +01:00
d08966509a Switch vim color scheme to base16 2020-01-27 08:37:53 +01:00
ea203e54c1 Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2020-01-07 14:07:13 +01:00
8257919fda Remap Q to execute macro
Previously mapped to ex mode, which I don't need as a quick access
mapping.
2020-01-07 14:05:24 +01:00
05af92a2e5 Add several packages to default install 2020-01-07 14:05:05 +01:00
8b71649e24 Fix headings in README.md 2020-01-06 16:40:56 +00:00
b99dc30441 Update README 2020-01-06 17:39:05 +01:00
3a70989a96 Add ntp package to default install 2020-01-06 17:24:29 +01:00
b64d9fadd0 Add clockify time tracker quickmark
Mapped to clock
2020-01-06 17:23:45 +01:00
5ca97cad3c Add gitignore file 2020-01-06 17:21:11 +01:00
83dc43e442 Add additional qutebrowser themes
Adds gruvbox dark and light variant, renames 'base16' to correct
solarized dark naming scheme. Uses gruvbox dark by default
2020-01-04 20:44:58 +01:00
e791340b19 Flatten script file hierarchy
Scripts would not be added to path otherwise
2020-01-04 12:19:39 +01:00
f367bc5819 Add personalized pandoc latex template 2020-01-03 10:29:44 +01:00
7b3b41ea97 Fix tmux dot session to work with stow dotfiles 2020-01-03 10:10:58 +01:00
dee7f9096b Merge branch '67-switch-organization-to-gnu-stow' into 'master'
Resolve "Switch organization to GNU stow"

Closes #67

See merge request marty-oehme/dotfiles!26
2019-12-30 10:18:57 +00:00
6fd8fcf8ca Restructure bootstrap dir, fix install.sh
With bootstrap files no longer linked to config directory, we can have
an easier directory structure with less nesting for them. Install.sh
needs to use the new structure when calling its bootstrap scripts.
2019-12-30 11:04:54 +01:00
dba47b8e20 Allow autostow.sh to selectively ignore directories
By default autostow.sh ignores assets/ and bootstrap/ directories. This
behavior can be changed through the `AUTOSTOW_IGNORED_DIRS` environment
variable. It should contain the name of the directories to ignore,
separated by a `:`.
2019-12-30 11:00:00 +01:00
df07a8e8d8 Remove dot command from shell
dot command was only useful for working quickly with the bare
repository, since it decoupled git's working tree. Now that we have a
normal repository and are using stow the command seems no longer
necessary.
2019-12-30 10:27:20 +01:00
7e0d5440d8 Add basic bootstrap routine 2019-12-30 10:20:17 +01:00
ed040d9caa Add autostow.sh automatic stowing utility
Will only reside in repository folder. Symlinks anything in a
subdirectory into the corresponding place in home directory.
2019-12-30 09:13:23 +01:00
34779454be Add simple stow automatic linking script 2019-12-30 00:02:17 +01:00
d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00
a2605c4254 Fix test cases 2019-12-28 11:23:09 +01:00
cfd4c7e21f Fix shell linter error
Did not correctly account for shell glob matching.
2019-12-28 11:19:10 +01:00
bc4b416f53 Fix WIKIROOT env var tests
Fixed tests using new file structure for personal environment variables.
Added test cases for library environment variable and bibtex (default)
reference file variable.
2019-12-28 11:16:14 +01:00
bd96394d67 Fix pdf compilation targets and Library envvar
Pdfs will be compiled, replacing special characters with underscores;
this fix also looks for underscored files when trying to open the
compiled version of a file.

The Library environment variable (for my default bibtex library
directory) overwrote yay's library directory; it has been renamed to
LIBRARYROOT to both mirror WIKIROOT as my note directory and keep the
LIBRARY variable empty so yay will continue working.
2019-12-28 10:07:05 +01:00
66cdb395aa [qutebrowser] add printing to pdf
Use command page-to-pdf or shortcut gp to print current page to pdf and
save it to default download directory.

Fixes #66
2019-12-25 11:22:06 +01:00
58ccacac0b Move paths to new documents paths 2019-12-20 14:21:08 +01:00
ff2efa19fd Modify alternative date display to include week
Shows week number in parantheses when clicking the date.
2019-12-20 14:08:32 +01:00
6440179749 Add Polybar battery indicator and brightness ramp 2019-12-20 13:01:50 +01:00
abde786e38 Add shaarli quick add bookmarklet to qutebrowser
Invoked by leader + bs (for bookmark shaarli); opens up the post page of
shaarli (hardcoded to my personal instance for now).
2019-12-20 12:21:57 +01:00
d7f51e66cd Fix WikiRoot test 2019-12-04 17:01:15 +01:00
d4ae593f50 Add function to check for installed program
Notifies if program is missing.
2019-12-04 16:57:15 +01:00
eb88925501 Add pandoc/rmarkdown compilation shortcuts to vim 2019-12-04 10:27:57 +01:00
faf0542563 Make spotify behave, Enable qutebrowser tab reposition 2019-12-03 23:19:47 +01:00
87cc2bc2bc Add file compilation / opening shortcut to vim 2019-12-03 23:18:47 +01:00
c0d6300dcc Add pandoc usage of BIBFILE env var if existing 2019-12-03 23:17:59 +01:00
920af8e9ba Add default apps, folders environment variables 2019-12-03 23:13:43 +01:00
18ba1fe6f0 Organize scripts folder 2019-12-03 23:12:44 +01:00