Marty Oehme
6ac552d3d5
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. |
||
---|---|---|
.. | ||
.config/mpv | ||
.local/bin | ||
README.md |
mpv module
mpv -- free, open-source, cross-platform media player
mpv is set up to hopefully strike a balance between high quality playback, streaming with a reasonable speed and saving battery power. It is set up to play both local files and streams from the web (especially youtube with playlisting and ad skipping), via a qutebrowser mapping if the corresponding module is installed.
- mpv by default does not come with a gui, this configuration uses uosc to enable a comfortable gui
- available subtitles are loaded and shown in a consistently high quality, as much as possible
- easy screenshot grabbing is possible, saving to a default folder (
~/pictures/screenshots
, can be changed at top ofmpv.conf
) - audio is not meddled with too much, but should provide good default sound quality for pulseaudio
- playback position is not saved for every file by default, but can be used when quitting with shift-q (default mpv behavior)
- streaming video is optimized for a 1080p display, it will avoid qualities higher than that if possible
- default video is adjusted for playback during the day, in a normally lit room
- simple context menu (opened with
menu
key on keyboard) to load files, subtitles, chapters, and more - newly defined keybindings, look in
input.conf
for their definitions - when a battery is being discharged, mpv starts in a slightly lower quality but battery saving playback profile
vim-like navigation
Scrolling through videos can be done with h and l (or H and L for larger steps), scrolling through a playlist is accomplished with J and K, and volume is controlled with j and k.
a
controls playback speed, s
cycles subtitles, d
controls audio delay, u
controls subtitle delay,
f
remains fullscreen, p
toggles pauses, i
shows the playlist, o
peeks at the timeline, F5
takes a screenshot.
Additionally, pressing the menu
button (between right ctrl
and alt
) will open a little context menu,
from which you can load other files, subtitles, chapters, switch audio tracks and take screenshots.
Most of this is (thanks to the hard work of the original script writers) easily customizable,
mostly from input.conf
directly.
playlist management
Uses the wonderful playlistmanager script to enable easy management of mpv playlists. Enables manually or automatically sorting playlists, shuffling them, and saving them to files.
Additionally, it automatically populates streaming content with the video title instead of the url within the playlist.
battery saving
When mpv ist started on a pc which it assumes to be running on battery power, it will automatically switch to a (slightly) lower quality mode, foregoing some of the upscaling niceties integrated into the default high quality mode for (somewhat) better battery preservation.
This script uses the output of /sys/class/power_supply/AC/online
, and thus depends on this file being readable to get its information.
It degrades gracefully, and simply keeps running in higher quality if the file is not readable.
sponsorblock
The minimal mpv-sponsorblock script is included to enable automatically skipping many sponsorship segments integrated within youtube videos.
This works mostly fully automated, it checks the database and finds affected segments, which it then automatically skips over.
To toggle sponsorblock on or off just hit b
, it will confirm the choice via osd.