Commit Graph

561 Commits

Author SHA1 Message Date
Marty Oehme bcb59b93de
[bibtex] Fix README
Adding ever so important information and admonishments to the readme.
2020-05-16 19:02:39 +02:00
Marty Oehme 113dc50b32
[bibtex] Update README
Updated readme to reflect new filtering options, and highlight the
script's brittle nature again.
2020-05-16 18:52:06 +02:00
Marty Oehme e55f3a067d
[bibtex] Add priority filtering to bib-due
Can filter by priority using `-p` option, script will then go down the
list and display only paper of this priority or higher.

For example priority 3 will display 3,2,1 but not those without;
priority 1 will only display 1
2020-05-16 18:39:06 +02:00
Marty Oehme b4c8030ce8
[polybar] Use bib-due date filter
Utilize the date filter option to display upcoming readings until the
end of the week and no further. Needs gnu date utility.
2020-05-16 17:35:40 +02:00
Marty Oehme c0d88e338a
[bibtex] Fix rofi-bib-due display options
Fixed displaying urgent and non-urgent items. Fixed passing along of
date filters and other options. Fixed using correct library pdf
directory (still hardcoded to pdf subdirectory of $BIBFILE).
2020-05-16 17:35:40 +02:00
Marty Oehme 5ceb05bbce
[bibtex] Add bib-due script filter options
Added options to bib-due script to pass input file (-i filename.bib), to
display simple help (-h), to specify which field to filter by (-l
fieldname), to specify which values to retain (-r
'values|in|regex|groups'), until which date to show (-u 2020-05-13).

Parsing remains brittle, which makes -l and -r not very useful as of
now; the parser would just get confused with different fields being
present.
2020-05-16 17:35:40 +02:00
Marty Oehme 62f4fa2f77
[bibtex] Add README for module 2020-05-16 17:35:40 +02:00
Marty Oehme f8056ed25a
[bibtex] Add rofi theme
Added theme to rofi making use of dropdown possibility. Will create a
window spanning whole page (or less, depending on how many lines dmenu
command passes on), and dynamically resizing to number of items.
2020-05-16 17:35:40 +02:00
Marty Oehme dba4877983
[polybar] Update module README
Slight updates to readme, fixing image link, pointing main readme to the
right location, rewording bib dependencies.
2020-05-16 17:35:39 +02:00
Marty Oehme 1d80d988b7
[bibtex] Use rofi to show bib-due files 2020-05-16 17:35:39 +02:00
Marty Oehme d4774b165c
[bibtex] Refactor bib-due script
Updated script is a little more resilient, and can be used to filter by
and catch various fields, controlled with a static variable at the top
of the file for now. Still brittle, and breaks easily on bibtex file
changes.
2020-05-16 17:35:39 +02:00
Marty Oehme 9202882797
[polybar] Add module readme 2020-05-16 17:35:39 +02:00
Marty Oehme 9e5abca853
[polybar] Remove bc dependency for package module
Removed dependency on bc to do simple addition.
2020-05-16 17:35:38 +02:00
Marty Oehme f6517df5a2
[polybar] Refactor music display module
Refactored music module to use a constant tail output of the underlying
script, to enable mode-switching, and to allow playing or pausing the
current song.
2020-05-16 17:35:38 +02:00
Marty Oehme 3872eca254
[polybar] Add onclick dropdown of papers due
On clicking the papers due module will show the bibtex keys of the
papers that are due, as well as their date and priority.
2020-05-16 17:35:38 +02:00
Marty Oehme 552d120856
[polybar] Add due papers display
Added simple numerical display for papers that are upcoming and due.
Will display ALL due papers, and not distinguish between soon / at some
point yet. Can not yet be interacted with.
2020-05-16 17:35:38 +02:00
Marty Oehme 4681156a89
[script] Add simple due script for bibtex file
Scrapes a bibtex file for 'due' field, and outputs all found entries
with their priority and sorted for date.
2020-05-16 17:35:34 +02:00
Marty Oehme 1f25f86290 Merge branch '103-gopass-passing-along-notify-send-explanation' into 'master'
Resolve "gopass passing along notify-send explanation"

Closes #103

See merge request marty-oehme/dotfiles!34
2020-05-16 15:19:08 +00:00
Marty Oehme 3f958a65d6 [gopass] Add rofi-gopass menu for quick secret entry
Allows auto-filling and copying secrets to the clipboard. Works on the secrets themselves and any fields contained within the secrets. Key bindings and options can be configured through a file or the environment.
2020-05-16 15:19:08 +00:00
Marty Oehme 2c11d14cbd
[mpv] Add playlistmanager 2020-05-13 23:35:28 +02:00
Marty Oehme f0cabb9149
[mpv] Add sponsorblock
Added sponsorblock to mpv.
2020-05-13 23:32:34 +02:00
Marty Oehme 0d0cf936bd
[mpv] Update readme 2020-05-13 23:22:23 +02:00
Marty Oehme 86e29b2763
[mpv] Fix battery script on desktop PC
Fixed requiring a battery or receiving an error. Script will simply set
high quality mode on desktop.
2020-05-13 18:22:01 +02:00
Marty Oehme d4257a4fce
[mpv] Fix battery detection 2020-05-13 17:41:14 +02:00
Marty Oehme cc942a55a1
[mpv] Add auto configuration low power mode
Add low power profile auto-setting if, on opening mpv, the battery mode
is detected. This will not automatically change when laptop is beginning
to charge/discharge *during* mpv being open.
2020-05-13 16:52:06 +02:00
Marty Oehme f5505cbac1
[mpv] Add low/high quality profiles
Added profiles for lq and hq playback in preparation for battery mode
setting.

Removed qutebrowser forcing ytdl options, since it is set in mpv.conf.
2020-05-13 16:51:32 +02:00
Marty Oehme dd61ca7aa9
[mpv] Add key configuration
Added somewhat vim-like key configuration.
Added context-menu opened with menu key on keyboard.

Fixes #100
2020-05-13 15:08:50 +02:00
Marty Oehme 9c98605f98
[mpv] Add on screen display
Fixes #98
2020-05-13 15:08:03 +02:00
Marty Oehme 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
Marty Oehme cc5c087cf1
Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2020-05-13 09:29:39 +02:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 0d73344990
Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2020-05-13 08:03:02 +02:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 3f855e5a8a
[nvim] Update spelling world list 2020-05-05 09:52:08 +02:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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