Commit graph

933 commits

Author SHA1 Message Date
748d6f2934
[mpv] Add basic configuration
Added basic configuration file, setting up caching, subtitles,
audio and video settings, profiles for streaming.

Fixes #95
2020-05-13 13:51:36 +02:00
cc5c087cf1
Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2020-05-13 09:29:39 +02:00
89d13307a5 Merge branch '96-open-mpv-in-floating-mode-from-browser' into 'master'
Resolve "Open mpv in floating mode from browser"

Closes #96

See merge request marty-oehme/dotfiles!33
2020-05-13 07:24:59 +00:00
c7f4ea880d
[mpv] Change unique mpv to floating instance
Changed the way umpv starts up to always be a floating instance in the
lower left screen corner.
2020-05-13 09:12:59 +02:00
0d73344990
Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2020-05-13 08:03:02 +02:00
b439e7fabb Merge branch '94-maximize-mpv-playback-to-1080p-for-added-links' into 'master'
Resolve "Maximize mpv playback to 1080p for added links"

Closes #94

See merge request marty-oehme/dotfiles!32
2020-05-13 06:02:49 +00:00
0c8ea5275b [mpv] Add quality limit to browser streams
Sending links to mpv limits the quality to 1080p, to be able to stream
it with my connection, and since I can not display more.

Fixed mpv taking ages to open for ytdl streams. (or anything else which
takes a while to load)
Mpv had to wait until it had enough buffer to begin playing and only
then would open its main window. With this fix it immediately opens the
window, and starts playing whenever it is ready.
2020-05-13 06:02:49 +00:00
b7e13d649d
[sh] Add wording argument to exist script
Added optional third argument to exist script which can be used to
identify the program or process that needs the command exist looks for.
This makes it easier to identify *who* called exist and is missing
something.
2020-05-11 16:52:51 +02:00
9e1bc94025
[nvim] Add fzf spellsuggest
Added fzf as selector interface for spell correction
selecting. Can be invoked through command
`FzfSpellSuggest` for now. Can be bound to keymapping if needed more
often; or if intending to overwrite default spell correction.
2020-05-09 14:48:34 +02:00
00b15048df
[nvim] Add gitlens, scratchfile lua plugins
Added gitlens to show git blame for cursorline after short time. Added
makescratch plugin to create a new scratch window via simple command.
2020-05-09 14:46:49 +02:00
e6e384270a
[i3] Improve todo.sh dropdown
Removed extraneous vim decorations for todo list dropdown, showing only
the editable text itself.
2020-05-09 14:44:11 +02:00
a40399913b
[i3] Remove keybase autostart
Keybase should be started as a service (through systemd, or similar
service manager). Removed the i3 attempt at autostarting since it took
too long to start the bloated gui client anyways.

Instead, the autostart should happen on login, starting the keybase
service and the keybase filesystem (so that programs relying on it can
automatically sync, like gopass)
2020-05-09 14:42:18 +02:00
a110acbdbf
[script] Add simple benchmark script
`benchmark` can be invoked with an executable file after it. It will
output the running time in milliseconds. Depends on gnu date being
installed on the system.
2020-05-08 11:39:06 +02:00
3e2d17aa5f
[zsh] Enable command line editing in vim
Needs vim-mode enabled for zsh (which it is in this zshrc). When in
normal mode press <space> to move the current command into vim and edit
it.
2020-05-05 22:27:17 +02:00
c8f9d31312
[nvim] Update plugin options to new versions
Updated deoplete to remove legacy options. Updated wiki.vim custom
function call to new name. Changed simple vim-go options.
2020-05-05 09:53:46 +02:00
3f855e5a8a
[nvim] Update spelling world list 2020-05-05 09:52:08 +02:00
64236ada0a
[tmux] Fix notes session directory
Fixed opening correct directory for tmux notes session, vim working
window.

Update xinit comments to be more reflective of programs intention.
Remove wal autostart xresources setup, it has been replaced by styler
(and at some point goxbam).
2020-05-05 09:21:38 +02:00
0d3b3a0c14
[nvim] Fix wiki.vim keymaps
Plugin changed its settings for enabling default keymaps from 0/1 to
string definitions.

See a4f2fdb6af
2020-04-16 17:46:25 +02:00
d09540797e
[alacritty] Update settings file to recent version
Updated the alacritty settings file to follow the correct format for
newer alacritty versions by conforming it to the setting file template
with choice differences for my setup.
2020-04-16 12:59:58 +02:00
7648d9c8d3
[git] Change to only ssh pushing, verbose diffs
Changed url substitution to only work on pushing, so that we can always
make use of ssh keys but things like pulling through rust's cargo still
work.

Default to verbose diffs, even though we also set it in the alias.
2020-03-03 09:43:36 +01:00
43a21d4775
[nvim] Minor deoplete, echodoc fixes
Simplified deoplete setup by removing options which only reiterate the
default. Fixed echodoc completion option list.
2020-03-02 21:38:16 +01:00
502d3ef821
[i3] Add border toggle, fix startup apps
Added a border toggle on mod4+b, toggles through no border (default),
plain border, border and window title. Removed individual changing the
outer gaps keybind -- gaps are changed along with resizing inner gaps,
and who really needs to seperately change only the outer ones.

Substituted exec for exec_always to not repeatedly start copies of
'dropdown' windows whenever restarting i3.

Changed a couple keybindings around that should largely not be
noticeable during normal operation, for reloading and restarting i3.
2020-03-02 19:16:25 +01:00
71ec5b31cf
[nvim] Change default fzfrg to search hidden files
<leader>F will search hidden files but skip the .git directory. This is
what I want most often.
2020-02-27 20:54:43 +01:00
4010b3ffc1
[nvim] Fix fzf cmd & coloring
Fix various little fzf annoyances: Implement good coloring of floating
window. Make it use fd by default, search through hidden files but
ignore the git directory itself.

Also, let it split the window on s and vertical split on v.
2020-02-27 10:07:09 +01:00
a390d14390
[nvim] Simplify floating fzf window
fzf already comes with its own floating window call function, so we
don't have to use our own. Instead simply call the floating window when
we are in compatible vim/nvim version and let fzf do its thing.
2020-02-27 10:06:38 +01:00
3575c147b2
[nvim] Update spellfile 2020-02-25 23:27:15 +01:00
083cfa3c20
[nvim] Change fzf to use floating window
By default fzf now uses a floating window covering most of the editor
screen real estate. It can still be full screened with a bang.

Floating window can be made optional with fzf layout options, but for
now I will try it for all fzf searches to get a feel for the positives
and negatives.
2020-02-25 23:25:25 +01:00
fcd58887da
[nvim] Add Fzf mappings for git, helptags 2020-02-25 23:24:40 +01:00
f0dff67410
[polybar] Add safer package update checking
Package updates in yay (as in pacman) will not be reported correctly
when the repository mirrors have not been updated recently.

However, updating only the mirrors without also synching the packages
locally is not recommended by arch. That means, essentially, we can't do
a dry-run to only 'check' for packages without running the danger of
performing a partial arch upgrade.

The program `checkupdates` in pacman-contrib package helps with this by
performing a check for the available updates without needing to pull
from the mirrors before. So, the polybar update script now checks for
its existence and uses it if available, falling back to the standard yay
procedure otherwise.
2020-02-25 07:53:05 +01:00
3f1443c546
[sh] Remove dimswitch tests
Removed dimswitch, kept its tests. That will work well.
2020-02-23 23:02:36 +01:00
e5a6c3e350
[X] Add simplifying xclip script
Added `clip` to path, allows sending stuff through stdin or via normal
file input to xclip. Makes xclip default to clipboard when clipping
input. Special handlers for image files (png and jp[e]g).
2020-02-23 22:50:13 +01:00
0f67355ccd
[nvim] Add ale defaults
Added package which sets ale defaults without having to define them
myself. Still keeping ale settings file around, but can probably get rid
of it soon.
2020-02-23 22:47:39 +01:00
393dd4e042
[sh] Remove dimswitch,clean homedir,improve exist
Removed dimswitch script. I liked it but it has been utterly superseded
by styler; if wanting to switch light and dark I can just switch to
light or dark base16 theme and do not have to rely on alacritty config
file hacking through dimswitch (well, now just through styler, yay.)

exist script will print message to stdout even if it prints to notify,
this makes more sense since now passing a loudness factor just adds it
to the message, instead of replacing printed message with libnotify.

Added stow ignores to top-level files. Not entirely sure if it is
needed, but they were linked on my system and the change shouldn't hurt.
2020-02-23 22:39:51 +01:00
92a01d99ee
[git] Substitute git for https connections
When git is invoked with https for either github or gitlab then
automatically switch it out to git@server.com
2020-02-20 22:47:00 +01:00
167744e8c8
[tmux] Fix true color support, especially in nvim
Tmux needs Tc set to enable truecolor support. At the same time, the
file was setting the same variable multiple times and in illogical ways.
So it now gets the term env var from the actual variable and simply adds
truecolor support.

Also removed cursor switching support for nvim, since tmux seems to
support it natively now. If it does not, this needs to be reinstituted.

Following discussions here:
https://www.reddit.com/r/neovim/comments/825dj7/the_endless_litany_of_tmux_and_nvim_color_problems/
and here:
https://stackoverflow.com/questions/41783367/tmux-tmux-true-color-is-not-working-properly
2020-02-20 20:46:41 +01:00
4e8be2abf2
[i3] Add todo and terminal dropdowns
Added quick access to todo.md file in home directory with mod4+t, and to
a dropdown terminal window with mod4+shift+return (mirroring the usual
terminal creation without shift).
2020-02-19 00:24:17 +01:00
92d5155aca
[i3] Simplify gap management, improve mode naming
i3 now uses mod4[+shift]+g to increase/decrease inner gaps and +b to do
the same for outer gaps.

The mode name for media has been put into a variable to make potential
dynamic namings possible and avoid duplication.
2020-02-19 00:24:02 +01:00
4191ed430b
Add simple dunst configuration
Configuration mostly copied from sample dunstrc provided by the package.
Sets basic layouting and is used by styler to append colorschemes
on-demand.
2020-02-16 14:29:21 +01:00
9919c68975
Improve styler documentation
Replaced `list templates` with correct command `list packages` in styler
command line help printout.
2020-02-16 14:28:28 +01:00
3dac8e5034
Source fzf-tab plugin, installed from custom repo 2020-02-16 14:23:05 +01:00
d5b7646611
Add make recursive dir alias, fix tmux alias
Fixes tmux session function alias and renames function to be a bit more
descriptive.

Added basic `md` alias to recursively `mkdir` directories.
2020-02-16 14:21:42 +01:00
fcbadd2bf0
Prepare qutebrowser for styler automation 2020-02-16 13:55:51 +01:00
b8e10e727c
Prepare alacritty for styler automation 2020-02-16 13:52:09 +01:00
347ef4e41f
Add thesaurus function to nvim
Added thesaurus calling on leader-zt, for word under cursor or selected
word(s). Will go through variety of online api's or locally supplied
mthesaur.txt from project gutenberg.
2020-02-11 17:17:47 +01:00
9fe4e5aab9
Fix qutebrowser reddit js whitelist
Unblock javascript only on old.reddit.com domain, since that is the one
I am using. I don't want to unblock on the new design.
2020-02-11 14:42:17 +01:00
31b8a50c60 Merge branch '86-readme-images-point-to-the-wrong-location' into 'master'
Resolve "Readme Images point to the wrong location"

Closes #86

See merge request marty-oehme/dotfiles!29
2020-02-11 09:33:18 +00:00
4634655619 Fix README image paths and dot description
Fixed paths to images for new repository dotfile delineation. Added
quick readme blurb explaining differece of normal and dotfile
directories.
Readme still explained old bare-repository directory structure. Rewrote
sentences to conform to new structure.

Removed underscore from bootstrap directory, since the repository does
not organize itself through underscore prefixes anymore.
Fixed package gathering git-hook to respect new bootstrap directory.
2020-02-11 09:33:18 +00:00
4d748ebebd
Add qutebrowser formedit shortcut
Added qutebrowser shortcut to edit forms in vim (leader-e). Added gitlab
and asciinema to javascript exceptions list. And removed some never-used
shortcut mappings.
2020-02-11 09:50:21 +01:00
facb95f0b9
Fix linting and static analysis
Set linter and formatter to *only* run when files it works for are
actually detected. Uses moreutils' ifne to detect the status of stdin
before sending an empty string to the test suite.
2020-02-10 22:24:38 +01:00
a29ce0aabf
Improve zsh vi-mode handling
Moved mode indicator to more immediately visible prompt location.
Allowed deletions and adding spaces regardless of mode.
Allow moving backwards through history and searching through terminal
input history.
2020-02-10 21:07:00 +01:00