Commit graph

17 commits

Author SHA1 Message Date
5ca27e5fd5
scripts: Add script to read wallabag articles
Added script to easily read wallabag articles on the command line (or
open them in browser), using the wallabag-cli python program in the
background.

Once invoked, will fetch a list of articles (optionally restricted to
read/unread/starred), and allow a choice through fzf.

Will then display the article in the user's preferred pager, editor, or
browser.

Can be invoked through the shell via `reader`, or through sxhkd shortcut
`r` from 'academia' mode (`alt + a`).
2021-03-05 17:07:11 +01:00
55442ae232
sxhkd: Add sharefile, emoji keybinds
Updated pass and surfraw to make use of capital letter shortcuts to keep
the general shortcut space a bit less cluttered (`Super + P/Q`
respectively).

Added a shortcut to automatically enter emoji, using rofimoji, via
`super + E`.

Added a shortcut to invoke a floating file picker which will
automatically be shared through `sharefile`, via `super + U`
2021-03-05 17:03:33 +01:00
d2e44d330d
dunst: Add brightness level notifications
Added notifications on changing brightness, will stack by default to
show the current level before disappearing.

The script to change and notify can be run through the command
`control-brightness`, and is bound to the sxhkd media key shortcuts for
brightness changes.

Removed the brightness indicator from polybar since it should be easy
enough to check current brightness by doing a quick higher-lower and
that's it.

Kept the module in polybar configuration script since I might reconsider
its removal if it turns out to have been useful.
2020-12-21 22:55:52 +01:00
5bdb16e113
sxhkd: Add toggleable statusbar
Added toggle key for polybar, just in case I ever need the extra screen
real estate (*without* i3's `Mod+f` full-screen mode).

Should come handy rarely, but if it does it now exists. Can be toggled
with `super+F7`, since that is close to the other styling option and not
used in any other way (not even with media keys or similar).
2020-12-03 12:41:04 +01:00
e015c4b5f1
Tiny fixes
Clarified naming scheme in sxhkd-chain-labels documentation.

Updated year for vim copyright shortcut.

Enabled automatic copying to clipboard by neovim for every yank action.
2020-09-22 22:34:50 +02:00
def968aefd
sxhkd: Switch to rofi-pass and pavolume invocation
Switched sxhkd shortcut from rofi-gopass to new rofi-pass
implementation.

Additionally switched from pulsemixer to pavolume for media key volume
control. Pulsemixer works well as a tui application, but its cli
implementation is unbearably slow (on my setup at the very least).

After pressing the volume up/down/mute key it could take up to 3 seconds
to take effect. With pavolume this change happens almost
instantaneously, and it displays a libnotify message on top (can be
disabled).
2020-09-12 17:54:19 +02:00
219f9a912d
sxhkd: Fix volume media keys
Changed the order of volume media keys so raising vol key raises
volume and lower vol key lowers volume, not the other way round as
before. oops.
2020-08-01 09:19:26 +02:00
966d87b3ea
[sxhkd] Separate calculator and run shortcuts
Previously, super + r would open an extended run menu which contained
all programs to run, ssh servers to connect to, clipboard history, open
windows, *and* the calculator. It was cumbersome to open the window,
switch the mode to calculator and then have it obscure half the screen.
It was also the mode most often used.

So, these two modes have been split, and their mappings updated:
`super + shift + spacebar` opens the old extended run menu (sans calc),
the mapping mimicking the 'extended' version of the normal run mapping.

`super (+ shift) + r` opens the calculator. Without shift it opens top
left of the screen, with shift bottom right.
2020-07-05 10:29:56 +02:00
4d96b19163
[sxhkd] Fix pipe enabled sxhkd start 2020-05-29 14:01:47 +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
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
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
ad8decb4ef Integrate dynamic colorschemes into applications
Makes polybar use Xresources color values for its colors. Resets rofi
values to their default after being overwritten by the base16 themes.
Makes qutebrowser include the colorscheme in its configuration file.

Ignore dynamically generated colorschemes in .gitignore file.
2020-02-01 11:01:26 +01:00
d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00