Commit graph

9 commits

Author SHA1 Message Date
773b9bedb6
rofi: Fix powermenu hibernation
Forgot to uncomment the actual hibernation command after debugging the
powermenu last time. Now it actually does what it's supposed to again.
2021-04-12 18:39:44 +02:00
c71c553591
rofi: Fix powermenu searchstring display
Since switching to `dash` as the default sh shell, rofi would display
ostensibly hidden strings (like comment tags, or rofi meta options).

This is due to this bug https://github.com/davatorium/rofi/issues/1201
or behavior of dash. Could be possibly fixed by using octal, for now,
the script works with bash rather than sh (i.e. dash).
2021-04-04 12:22:16 +02:00
5925500930
rofi: Switch sleep action to hibernate mode
Switched out the suspend action from the rofi powermenu (called through
super + backspace in current sxhkd setup) to instead call hibernate.

This needs a correctly set up system to engage hibernate - all the
documentation necessary can be found at
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate

Generally, needs a swap file and resume (i.e. hibernation) correctly set
up in both the kernel parameters and the initramfs.

On this machine (laptop), the way things work now is that simply closing
the lid leads to the default sleep action (suspend), and invoking the
manual rofi-powermenu way will instead completely hibernate the system,
leading to less power usage but taking a little longer to switch off and
restore.
2021-02-19 12:35:17 +01:00
377ab6ea56
rofi: Format rofi-surfraw with shellcheck 2020-09-12 17:41:39 +02: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
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
97f7fcbbd6
Move scripts into respective directories
Having a general script folder makes little sense if the scripts are
targeted to specific applications. This commit moved every script that
solely, or mainly (like ueberzug), targets a single application into
that respective stow module.
2020-02-08 20:17:44 +01: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