Commit graph

481 commits

Author SHA1 Message Date
Marty Oehme 499d375791 Add basic dimswitch
Prints out current version number and simple usage instructions on invocation
with -h, --help, -v, --version. Displays used configuration file when invoked
with -i/--info.

Adds simple toggle ability script, used by simply invoking `dimswitch` from the
.local/bin/ directory. In this dotfile configuration that directory is added to
the path, so can be invoked from anywhere.

Invoked without any options it will look for a line which specifies a theme
with a `-light` or `-dark` option appended, and switch them out. Does not
change the vim colorscheme or background, and can not change the theme in
alacritty itself.

The extent of this script is still limited, if it should be expanded python
seems more suited. For further discussion, see its original Merge Request !18.
2019-09-02 11:00:28 +00:00
Marty Oehme 659bd61af3 [qutebrowser] Revert to downloading PDFs for now
Should implement checking existence of pdfjs on the system before either
showing PDFs in the browser or downloading.
2019-09-01 11:03:55 +02:00
Marty Oehme 39e2035571 Add qutebrowser as default BROWSER env var 2019-08-29 16:45:16 +02:00
Marty Oehme 13625bafec [qutebrowser] Add adblock blacklist, slightly change media shortcuts 2019-08-29 16:44:15 +02:00
Marty Oehme 991b906690 Add js whitelist for gmaps, gmail. Fix tab display
Tab titles need a number in front for quick <number>gm movement. Google
maps and Google mail do not work without javascript.
2019-08-27 14:13:18 +02:00
Marty Oehme e5088962fb [qutebrowser] Add toggl to javascript whitelist 2019-08-08 14:12:43 +02:00
Marty Oehme dbcc42051e [qutebrowser] Add dict.cc quick search engine
Use d and search term to translate the therm (by default German-English
and vice versa).
2019-08-08 13:34:40 +02:00
Marty Oehme 9061c77232 [qutebrowser] Add Todoist to javascript whitelist 2019-08-08 13:20:18 +02:00
Marty Oehme b83a679d1d [qutebrowser] Add search engines, javascript toggle
Toggle Javascript on/off with <leader>js. Reload the configuration file
with <leader>VV. The search engines include reddit, github, wikipedia,
archlinux, aur, gopackages and more.
2019-08-06 09:25:57 +02:00
Marty Oehme 4825466d2a Merge branch '46-allow-nested-remote-tmux-handling' into 'master'
Resolve "Allow nested (remote) tmux handling"

Closes #46

See merge request marty-oehme/dotfiles!14
2019-07-27 12:29:47 +00:00
Marty Oehme 7fab7dd6fb [tmux] Add remote session nesting
If calling a tmux session within a tmux session, pressing F12 will
toggle between sending commands to the outer or inner session. If the
outer session is inactive its status-bar will be slightly greyed out to
show that no commands will reach it. If the inner session is a remote
ssh session, it will set some additional stylings for the status-bar to
further differentiate the two.
2019-07-27 12:29:47 +00:00
Marty Oehme c8cd9bf11e Merge branch '47-add-unit-testing-to-sh-zsh-bash-files' into 'master'
Resolve "Add unit testing to SH/ZSH/Bash files"

Closes #47

See merge request marty-oehme/dotfiles!17
2019-07-27 11:42:54 +00:00
Marty Oehme b11343b73a Add bats unit testing to repository
Will recursively look for `*.bats` files and run them with bats-core test suite. Simple sample unit tests for existing scripts are included in `.config/shell/rc.d/test`.
2019-07-27 11:42:54 +00:00
Marty Oehme beb5f1c323 Rename alias & env setting shell scripts 2019-07-27 11:29:31 +02:00
Marty Oehme b9441dc36d [vifm] Add icons for most used filetypes 2019-07-26 13:42:45 +02:00
Marty Oehme 6277ed1cf1 [tmux] Fix root directory setting command 2019-07-26 13:41:50 +02:00
Marty Oehme 590f430a09 Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-07-25 12:28:33 +02:00
Marty Oehme eca508e230 [tmux] Notes session set vim root to notes dir 2019-07-25 12:28:00 +02:00
Marty Oehme e4f444cfe5 Merge branch 'fix-ci-linting' into 'master'
Fix ci linting

See merge request marty-oehme/dotfiles!16
2019-07-24 09:47:15 +00:00
Marty Oehme dd62216327 [gitlab] Remove unit testing CI for now 2019-07-24 11:37:59 +02:00
Marty Oehme 8d19ff9ffd [gitlab] Make CI output colorful 2019-07-24 11:33:57 +02:00
Marty Oehme d7e8831423 Fix static analysis and lint errors 2019-07-24 11:32:04 +02:00
Marty Oehme 8494eda973 [nvim] Add shfmt and analysis to zsh files 2019-07-24 10:58:46 +02:00
Marty Oehme bf23178314 [gitlab] Let shellcheck choose sh version 2019-07-24 10:55:01 +02:00
Marty Oehme bedf7e18a9 Fix static analysis errors 2019-07-24 10:54:06 +02:00
Marty Oehme 05c189cfa4 Fix merge errors 2019-07-24 10:42:12 +02:00
Marty Oehme ef73a11e51 Naive fixing of linter errors 2019-07-24 07:33:28 +02:00
Marty Oehme 21c40fa774 [gitlab] Use bash/posix style CI for .zsh/.sh files 2019-07-23 17:37:19 +02:00
Marty Oehme 7e302d8770 [dot] Remove legacy bootstrap install scripts 2019-07-23 16:56:38 +02:00
Marty Oehme 6e09ca47cb [gitlab] Fix sh linting in vim and pipeline 2019-07-23 16:50:30 +02:00
Marty Oehme 7f6b1d5c03 Merge branch '42-enable-linting-and-fixing-for-sh-files' into 'master'
Resolve "Enable linting and fixing for sh files"

Closes #42

See merge request marty-oehme/dotfiles!15
2019-07-23 14:45:41 +00:00
Marty Oehme 49a0723a09 [gitlab] Add simple CI pipeline for SH/ZSH scripts 2019-07-23 16:42:56 +02:00
Marty Oehme 2b8540f6cf [nvim] Remove golang-ci metalinter, rely on vim-go
vim-go already provides the linting necessary for golang. Using
golang-ci additionally only complicates matters and provides no benefit.
Additionally, it did not seem to be able to track files other than the
one in the current buffer, or those open in hidden buffers and would
show (false) errors of classes or functions not found even when they
existed.
2019-07-23 15:41:23 +02:00
Marty Oehme 3b710baecc [tmux] Fix session management debug printing
Fixes printing messages only needed for debug. Names session ending with
.session instead of the deprecated .config
2019-07-17 10:48:19 +02:00
Marty Oehme 7d414b294c [tmux] Add notes default session file
Called with `tm notes.session`. Calls up a vifm instance pointed to the
notes directory, and a vim session pointed to the notes index file.
2019-07-17 10:47:08 +02:00
Marty Oehme c9e3b917f2 Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-07-16 21:17:57 +02:00
Marty Oehme 1fafcaadc4 Add dotfile configuration session
Invoked with `tm dot.session`. Contains a git window watching the
dotfiles status, diff, and a git log of recent commits. Contains a
window with vim. Contains a third window to test out the resulting dot
commands. Kept simple and clean.
2019-07-16 21:17:04 +02:00
Marty Oehme 02cbb2e9db Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2019-07-16 18:29:53 +02:00
Marty Oehme f84b389730 Merge branch '41-add-tmux-session-management' into 'master'
Resolve "Add tmux session management"

Closes #41

See merge request marty-oehme/dotfiles!13
2019-07-16 16:08:35 +00:00
Marty Oehme 4668849a4f Add italics in vim
Italicizes comments and anything which should be italicized in text
(e.g. markdown *star-surrounded* words). Might lead to errors in ssh
connections, will have to test.
2019-07-16 13:13:48 +02:00
Marty Oehme c581e72110 Add yanking filepath/dir from vifm to clipboard
Use yd for directory, yf for file path, yn for file name (without full
path), yr for yanking the root of current filename. Makes use of xclip
to work.
2019-07-16 13:12:01 +02:00
Marty Oehme c42625f4be Add toggleable color schemes to alacritty 2019-07-16 09:46:15 +02:00
Marty Oehme 2e9bda1fd6 [vifm] Add zathura association to .epub files 2019-07-12 14:02:50 +02:00
Marty Oehme f3c89aa1e3 Add golang linters to vim 2019-07-11 09:01:00 +02:00
Marty Oehme 22e9309e85 Remove duplicate readme entries 2019-07-11 09:00:20 +02:00
Marty Oehme 4e3cc2342a Add default session root dir to tm 2019-07-10 13:48:44 +02:00
Marty Oehme 27af1cc7fa Add looking for .tmux.session files in pwd
If no explicit session file is passed in and a new session is being
created tm will look for a .tmux.session file in the pwd and use that to
set up the session.
2019-07-10 13:21:44 +02:00
Marty Oehme 6fcf2a750e Always execute session setup
Even if session already exists, if we explicitly pass along a session
file, we should execute it.
2019-07-10 13:09:17 +02:00
Marty Oehme 1ac168ccb0 Extend tm script to allow session file loading
With the `tm script.conf session-name` format, or `tm script.conf`
format, it now allows setting up pre-defined session setups to be loaded
by tmux.
2019-07-10 12:19:02 +02:00
Marty Oehme ea7e3635fe Automate initial tmux plugin installation 2019-07-08 22:06:56 +02:00