Commit graph

1530 commits

Author SHA1 Message Date
a64744dd8d
[libinput-gestures] Remove module
I have not used libinput gestures since switching to archlinux and i3wm.
I do not see myself using it in the foreseeable future.
2020-06-05 22:16:11 +02:00
519d89a03f
[bibtex] Move pandoc latex template to module
Removed pandoc module, since its only purpose was to house a template
file which specifically targets writing pandoc documents for latex, thus
falling closer to bibtex modularity than making a pandoc module
necessary.
2020-06-05 22:13:14 +02:00
4d96b19163
[sxhkd] Fix pipe enabled sxhkd start 2020-05-29 14:01:47 +02:00
75a8978a0a
[bash] Fix sourcing of xdg vars and terminfo
Fixed setting up the initial variable pointing to the xdg directory to
enable bash to source its files from the `.config environment`
2020-05-28 18:06:54 +02:00
3a40925615
[sh] Default TERM to xterm if no terminfo exists 2020-05-28 14:22:31 +02:00
f542c418eb
[git] Add git last alias
Added git alias to show the contents of the last commit. Either use the
long form `git last`, or its alias `gll`.
2020-05-28 14:01:50 +02:00
d6a2ee7b8a
[git] Add diff-so-fancy as git diff
Added package diff-so-fancy and make diff use it by default for its
diffs by setting it as its diff-pager.

Added sanity function dsf which invokes diff-so-fancy if it exists or
degrades gracefully if it does not. Use this function for all git diff
needs.

Pre-fill the pager search term in git to enable jumping between changed
files with n/N.
2020-05-28 13:51:02 +02:00
17f8ca062d
[git] Clean up config formatting, color diffs
Made git aliasing exit if no git executable is found (which should not
happen, but still) instead of putting all aliases into the conditional.

Added unified colors to git diffs.

Cleaned up formatting of the files.
2020-05-28 13:35:15 +02:00
7895b1c052
[tmux] Add git diff switching staged to dot session
The git log display will now depend on current staged status.

If no files have been staged, the panel will display recent git logs
with branches and short titles, as before.

If files have been staged however, the panel will switch to display
staged changes however. This is to facilitate a better overview of
changes during the staging and committing process; since often one wants
to see the staged changes next to the commit that is being written.
2020-05-28 11:05:49 +02:00
11a6eda0ce
[sxhkd] Fix shortcuts, Add bib-due overview
Changed sxhkd being hard-coded to use alacritty as a terminal. Though I
don't see myself switching soon, changed the shortcut to make use of the
already existing environment variable "$TERMINAL" which gets set as part
of my basic env settings on the machine.

Added pre-defined filter for styler entries, removing 256 color versions
of base16 themes, as well as all atelier styles. I never use -256
versions of the themes so they can be hidden. If I want to use an
atelier style (which is rarely), I can quickly remove the pre-defined
filter since it is the last one added.

Added a mapping to academia mode which shows *all* due papers, to get an
overview at a glance. Uses F3, so that academia mappings go F1->F3 from
most restricted to most encompassing views.
2020-05-28 10:30:58 +02:00
69f4cf3d75
[pkg] Add nmap, brill font, an2linux server
The brill font works well for web display reading in specific sites, as
well as legible pdf rendering.

Nmap contains ncat utility which allows cat-ing to sockets over the net,
useful for sending the local clipboard to a smartphone listening on
telnet.

an2linuxserver finally allows easy display of Android notifications when
running the corresponding android client application on the phone. It
basically functions as a light-weight kdeconnect alternative with only
the notification functionality.
2020-05-27 20:57:19 +02:00
7c78936e5b
[sh] Add easy font listing alias
Added `fontfamilies` alias which tries to remove duplicate entries from
the `fc-list` command and display them. Can be used for easy finding of
installed font-families, thus the name.
2020-05-27 20:55:20 +02:00
d96870eadc
[nvim] Add Zettelkasten movement
Can move through wiki by Zettel anchor IDs. Replaces standard wiki
movement. Zettel IDs do not care about the directory they are in, as
long as the ID is the same the Zettel can be located anywhere within the
wiki root directory.

Will need refinement and speed improvements in the future.
2020-05-26 22:35:42 +02:00
701d97389b
[nvim] Set all markdown-like documents to pandoc
Whenever I write markdown, I want it to be interpreted by pandoc rather
than markdown itself. I write the pandoc flavor of md, I want the pandoc
plugin to handle the files, and I want to enable citations and
compilation in every markdown file.
2020-05-26 17:40:45 +02:00
96475bcbaa
[pkg] Update package list 2020-05-26 15:48:45 +02:00
5f0c508ea8
[nvim] Add peekaboo plugin to display registers 2020-05-26 15:29:41 +02:00
bd047962f8
[X] Start sxhkdrc with fifo pipe enabled 2020-05-26 15:09:28 +02:00
7be23bb4b8
[sxhkd] Add sxhkdrc parsing to mode script
Can now parse the usual sxhkdrc file in looking for mode chain
combinations. Will prefer explicit configuration files if they exist.
Read the -h to learn more.
2020-05-26 14:55:06 +02:00
1c789a9e72
[sxhkd] Add basic mode keybinds
Moved media mode keys from i3 to sxhkd without changes.

Added F1 and F2 to academia mode display, to display upcoming and all
bibfile readings (only urgent by default, with shift it displays
priorities).
2020-05-26 13:59:57 +02:00
d37e65f03c
[polybar] Fix pomodoro timer script display
Moved pomo submodule directory to avoid conflict with pomo generated
file.

Right-clicking will now always reset the pomodoro timer. It will not
automatically start again. Left-click it once to initialize a new run,
and again to actually start the timer.

The symbol signifies this:
Empty tomato, timer stopped.
Half-full tomato, timer paused.
Clock-tomato and a timer beside it, work timer running.
Coffee cup, break timer running.
2020-05-26 13:42:14 +02:00
d4fda84c3b
[polybar] Add sxhkd mode display module 2020-05-26 13:22:12 +02:00
cb5f09c414
[sxhkd] Add script to show current sxhkd mode
Script can be used in a statusbar or otherwise and will return the
currently active sxhkd mode. Look into the README for further
explanation.
2020-05-26 11:50:20 +02:00
42379b25eb
[sxhkd] Move media control mode to sxhkd from i3wm
Most modes should reside in sxhkd, to unify the 'hotkey' settings of the
configuration, and since controlling playback has little to do with the
window manager.
2020-05-26 10:33:32 +02:00
68de6bbbd8
[rofi] Use dropdown theme for more menu lists
Make run menu, password list, and theme selection use the unified
dropdown theme by default.
2020-05-25 17:53:26 +02:00
0e513c04d0
[vifm] Use unique mpv player instance for video
By default now queues to unique mpv player.
2020-05-25 17:50:20 +02:00
4292d1e5de
[nvim] Add table align plugin; update spell
Added alignment plugin. My primary use-case is markdown tables, though
the plugin can be used for a lot more than that.

Basic use is marking the to-be-aligned area and pressing ga then
entering *| (or something else than pipe, if the separator symbol is
different). Or doing e.g. gaip to align within paragraph; works as
editing command.
2020-05-25 17:46:04 +02:00
e361d65e59
[gopass] Fix missing options
Removed too many options on last go. Reinstated most necessary options.
2020-05-25 17:41:38 +02:00
e9feecc440
[git] Fix git stash alias,set default pull options
Fixed git stash alias (gsta) not correctly detecting zsh shell for git
version guessing.

Set default options to automatically rebase on pull, automatically prune
on fetch, and automatically stash and squash on rebasing.

Also made git diff highlight moved code.
2020-05-25 17:36:27 +02:00
86fa743988
[repo] Update README with submodule information
Added information on automatically pulling git submodules on initial
clone.
2020-05-25 17:31:28 +02:00
5aad473ab5 Merge branch '107-integrate-simple-timer-into-polybar' into 'master'
Resolve "Integrate simple timer into polybar"

Closes #107

See merge request marty-oehme/dotfiles!35
2020-05-25 15:25:45 +00:00
050bac9c55 [polybar] Add pomo timer as git submodule
Using [jsspencer/pomo](https://github.com/jsspencer/pomo) as the timer
of choice. It is simple, it works well, and it uses a very elegant way
of tracking the time.

I can think about implementing my own version later, but this will
handily suffice for now.

Polybar script will now limit the pomo timer to a single 'running'
instance containing the notification function, by putting its running
instance PID in a lockfile and killing it before restarting or changing
the timer.

Added running and paused tomato icons; as well as break coffee icon.
Removed display of seconds, unless the last minute of a timer is
running.
2020-05-25 15:25:45 +00:00
9b362cae38
[sh] Fix linter errors 2020-05-19 17:59:13 +02:00
1ae92cfc2a
[bash] Fix bash profile initialization
Removed automatic initializations of zsh functions.
Fixed not calling correct folders for bash aliases, environment
variables and profile settings.
2020-05-19 17:34:28 +02:00
ce4473bf9f
[polybar] Remove papersdue script date invocation
Removed unnecessary invocations of date util, since it will be invoked
by the actual running script anyways.
2020-05-16 19:07:01 +02:00
db871e3751 Merge branch '90-refine-upcoming-script-for-bibtex-files' into 'master'
Resolve "Add upcoming papers to read display"

Closes #90

See merge request marty-oehme/dotfiles!31
2020-05-16 17:05:09 +00:00
f96f9f2211 [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:05:09 +00:00
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
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
2c11d14cbd
[mpv] Add playlistmanager 2020-05-13 23:35:28 +02:00
f0cabb9149
[mpv] Add sponsorblock
Added sponsorblock to mpv.
2020-05-13 23:32:34 +02:00
0d0cf936bd
[mpv] Update readme 2020-05-13 23:22:23 +02:00
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
d4257a4fce
[mpv] Fix battery detection 2020-05-13 17:41:14 +02:00
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
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
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
9c98605f98
[mpv] Add on screen display
Fixes #98
2020-05-13 15:08:03 +02:00
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