Commit graph

29 commits

Author SHA1 Message Date
912458d8f0
mpv: Remove deprecated and superfluous settings 2023-01-07 14:42:34 +01:00
a3b00c4693
mpv: Fix sponsorblock code and formatting
Fixed global variable naming (capitalized) and let code be formatted by
formatter.
2022-10-08 18:13:43 +02:00
d93bcdf11e
mpv: Switch to m for menu invocation key
Switched from `menu` (function+right control usually) to simple `m` as
an invocation key. Simpler, mnemonic, and not used yet.
2021-11-30 22:43:43 +01:00
6ac552d3d5
Switch to wayland
Added a simple wayland configuration.
Currently set up simple wayland configuration based on river window
manager and waybar.
Rivercarro is the layout manager, being the same in principle as rivertile,
the default layout manager for river, only it comes with smart gaps
(gaps turn off if there is only one window open)
and monocle mode (give one window all space).

Runs `keyd` in the background to replace the old `xcape` capslock switching
(capslock is escape and if held control).
Uses `swaybg` to set a wallpaper.

Added powermenu and lockscreen scripts.
Improved lockscreen script to detect and work for wayland.
Moved old rofi mode 'powermenu' to more general powermenu script,
which works with any rofi-like selector (dmenu, bemenu, wofi, etc.)
Loses some of its design quality but since it was wonky anyway,
and I rarely see the menu,
we could repurpose its functionality for a more general powermenu
concept.
Currently hardcoded for `bemenu` but can be easily swapped and possibly
even extended back to rofi.
Fixed file upload link sharing to clipboard.

Updated rofi-pass to pass-pick.
Made rofi-pass universal and less integrated to rofi - that's also the
reason for the name change.
`pass-pick` works with rofi (default), bemenu or dmenu. In theory it
should also work with any other picker that contains a stdin listing
function similar to dmenu.
It has been definitely tested both on rofi and bemenu.
The best user experience still reigns on rofi, where available keys are
displayed on the picker and the keys themselves make the most sense.
But all functions can be reached from bemenu as well, though the key
mappings are more arbitrary and can not be changed as in rofi.
The autofilling tool works with both xdotool and ydotool, so should work
both on X11 and on Wayland. Ydotool ideally requires its daemon to be
running, otherwise some of the typing may get gut off. Otherwise no
change should be necessary.

Updated qutebrowser open_download for bemenu.
Updated download opening script to work with both rofi and bemenu.
Prefers original rofi implementation but works with both, and can be set
to use a custom dmenu-like file picker as well.

Add brightnessctl and removed custom audio / brightness scripts since they
became unnecessary.

Updated bootstrap script to include system files:
With `keyd` taking its configuration from the `/etc` directory and not
home, a second stow stage was necessary. These stow files are in a
module called `system-packages` inside the top-level `bootstrap` stow
package.
They will not be installed by the default dotfile stow invocation but
have been integrated as an extra step into the install script.
Installing this module requires sudo privileges!

Switched vifm überzug to sixel graphics rendering.
überzug relies on X11 functionality to work, while sixel does not.
Unfortunately, alacritty does not work with sixel graphics yet, only
foot does (somewhat).

Waybar currently runs the gruvbox dark soft color scheme.
Added the old polybar archupdates script to waybar and extended it to
output json format with additional metadata that waybar can read.
Can still output the old plaintext format that polybar expects.
Added a wireguard connection to waybar,shows if currently
connected to either a wireguard or tun VPN service.
If so, shows an icon in the waybar - that can be hovered over to show
the full assigned IP address.
Added an upcoming event display to waybar,
a simple event indicator to show upcoming events on the calendar, on
hovering over it the tooltip lists all upcoming events.

Added `screenshot` script to take simple screenshots and
rectangle region shots of the current output.
Can be invoked through the river shortcut PrintScr:
`PrintScr` - Fullscreen screenshot
`Mod+PrintScr` - Region screenshot
`Shift+PrintScr` - Fullscreen screenshot and file upload
`Mod+Shift+PrintScr` - Region screenshot and file upload

Extended `sharefile` to take paths through stdin and make
use of `fd` if it is found on the system.
2021-11-30 22:30:07 +01:00
d2eec50d33
mpv: Default to english subtitles
Changed subtitle and audio order which was accidentally switched
previously - audio should prefer original tracks and subtitles should
prefer english.
2021-10-23 12:44:00 +02:00
8a6cdcba8b
mpv: Use yt-dlp instead of youtube-dl
Switch to fork since it's more actively developed and contains some
additional features. Primarily switched since it had quite a bit better
subtitle stream handling than the original for quite a while.
2021-10-09 23:21:02 +02:00
0c14a972c7
mpv: Decrease overlay font size
Heavily decreased font-size for display since it was *humongous* before.
Now provides a nice balance between readability and amount of text on
screen.
2021-06-02 23:16:21 +02:00
c9c0490cbf
xdg: Move xdg media directories
Moved all directories with media contents (pictures, videos, music) to a
single coherent media directory.
2021-04-18 13:04:59 +02:00
4ade691441
mpv: Replace sponsorblock with minimal version
Use a more minimal version of sponsorblock which neither caches the
results locally, nor allows many of the fancy things that the python
plugin allows.
On the other hand, it is lua-only and does not depend on python, and
fulfills the same basic functionality: skipping sponsorship segments.

You can toggle the plugin on and off by pressing `b`.
Additionally, it also works on files played locally, if those carry a
yt identifier in their filename.
2021-04-05 15:49:34 +02:00
41bfe2df69
mail,mpv,qutebrowser,vifm: Fix small issues
Added videos directory to vifm quick marks (`v`).

Fixed (hopefully) qutebrowser statusbar hiding and showing.

Improved mail checking script password file handling by switching the
hard-coded path to one still somewhat hard-coded, but encapsulated in a
variable to make changing it later on easier. The script is a bit
slap-dash anyway, so when refactored should be refactored overall.

Added `gallery-dl` handling by mpv, whenever a link starting with
`gdl://` is passed in.
2021-03-16 14:37:38 +01:00
a94890ea22
mpv: Add automatic playlist creation from directory
Added plugin to automatically load all files in the current directory
into the playlist on startup.

Will keep files 'before' the current file also 'before' in the playlist,
vice versa for files following in the directory.
2021-03-08 21:38:01 +01:00
b393e01a2f
qutebrowser: Update host block lists
Updated host block lists through internal list updater.
Added a couple nvim spell dictionary entries.
2021-02-19 12:37:44 +01:00
1c335dcb66
Fix small issues: brightness scroll and formatting
Added ability to change display brightness by scrolling over polybar
module.
2020-12-03 11:57:20 +01:00
429d0ec687
umpv: Update to work with new mpv version
Moved umpv script to updated version available here:
eeb711f5f3/TOOLS/umpv

Switches deprecated `--input-file` argument for `--input-ipc-server`,
making use of socket instead of FIFO file ---
though it should work the same in practice.
2020-11-25 14:15:28 +01:00
0e34af1992
lua: Fix formatting with lua-format 2020-11-06 15:03:33 +01:00
4f4e67ff1c
[repo] Add & update docs, fix install script dirs 2020-07-08 13:51:27 +02: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
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
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