diff --git a/docs/coding/shell/mise.md b/docs/coding/shell/mise.md index 6fd8515790abfd7307a29e3571d5523b8694ec77..19c6c63e43e665ebb5ca5f6511ed24e9b6e9d708 100644 --- a/docs/coding/shell/mise.md +++ b/docs/coding/shell/mise.md @@ -115,6 +115,12 @@ is not evaluated each time): ETC_PASSWORD = "{{exec(command='rbw get etc/password', cache_key='secret', cache_duration='1d')}}" ``` +After rotating tokens/passwords in password store clear the mise cache with: + +```sh +mise cache clear +``` + Mise Terraform issues: - [Support changing the version file for terraform and opentofu](https://github.com/jdx/mise/issues/2602) diff --git a/docs/desktop/wayland/displays.md b/docs/desktop/wayland/displays.md index bb9a051a2b0f34a198c9628818e6dd74060b779e..dfd2b26999b82d022ee6aff3a064fa1bd196c75f 100644 --- a/docs/desktop/wayland/displays.md +++ b/docs/desktop/wayland/displays.md @@ -13,7 +13,8 @@ ### Hardware -- LG Electronics LG HDR 5K: +- `LG Electronics LG HDR 5K`: 2 displays are detected instead of one + - Hyprland: [modesetting failing on external monitor](https://github.com/hyprwm/aquamarine/issues/59) ## Multi-display setup diff --git a/docs/desktop/wayland/hyprland/mylinux4work.md b/docs/desktop/wayland/hyprland/mylinux4work.md index a4f7feba6c8e84205a496eb32d581ff1cae9f790..f8926df10a75674afb552282d796c14b55ad8f3b 100644 --- a/docs/desktop/wayland/hyprland/mylinux4work.md +++ b/docs/desktop/wayland/hyprland/mylinux4work.md @@ -24,9 +24,23 @@ ml4w-hyprland-setup ml4w-hyprland-setup ``` +## Config + +- Config locations at + - `~/.config/ml4w/settings` + - `~/.config/hypr/conf/`, i.e. `~/.config/hypr/conf/monitor.conf` +- [Docs: Configuration Variations](https://github.com/mylinuxforwork/dotfiles/wiki/Configuration-Variations) +- Custom hyprland config: `~/.config/hypr/conf/custom.conf` + - gets sourced at the very end of `~/.config/hypr/hyprland.conf` + ## Key bindings - Show keybindings dialog in Hyprland: `Mod Ctrl k` - default keybindings: `share/dotfiles/.config/hypr/conf/keybindings/default.conf` - Reload hyprland config: `Mod Shift R` - App launcher (Rofi): `Mod Crtl Return` + +## Issues + +- [Docs: Troubleshooting](https://github.com/mylinuxforwork/dotfiles/wiki/Troubleshooting#globbing-errors-on-startup) +- SDDM is configured to only support US keyboard layouts diff --git a/docs/git/credentials-helper.md b/docs/git/credentials-helper.md index 34566b75b9b15cb03cddeb2641f5ddb5586549d0..dddf11a38268ddf2339338a219fb8b9a43f7e3e1 100644 --- a/docs/git/credentials-helper.md +++ b/docs/git/credentials-helper.md @@ -14,6 +14,8 @@ git credential-cache--daemon /home/varac/.cache/git/credential/socket - [GitHub](https://github.com/hickford/git-credential-oauth) - Golang - [How it works](https://github.com/hickford/git-credential-oauth?tab=readme-ov-file#how-it-works) +- Downside: Each repo needs to get allowed with OAuth, doesn't scale + ell with tools like gitlabber i.e. Install: @@ -31,7 +33,8 @@ git config --global --add credential.helper oauth ### Custom Gitlab host -- Custom Gitlab hosts need to get registered manually, until [Preconfigure Git Credential Manager as instance-wide OAuth application](https://gitlab.com/gitlab-org/gitlab/-/issues/374172) +- Custom Gitlab hosts need to get registered manually, + until [Preconfigure Git Credential Manager as instance-wide OAuth application](https://gitlab.com/gitlab-org/gitlab/-/issues/374172) is solved. - [Docs: Custom hosts](https://github.com/hickford/git-credential-oauth?tab=readme-ov-file#custom-hosts) @@ -57,15 +60,17 @@ echo url=https://gitlab.com | git credential fill [Custom GitLab instance support](https://github.com/hickford/git-credential-oauth/issues/18) +### Issues + +- [FR: Allow all repos of an instance](https://github.com/hickford/git-credential-oauth/issues/29#issuecomment-2827278017) + ## git-credential-manager - [GitHub](https://github.com/git-ecosystem/git-credential-manager) - dot.net - [AUR packages](https://aur.archlinux.org/packages?O=0&K=git-credential-manager) - - [git-credential-manager](https://aur.archlinux.org/packages/git-credential-manager) - - Installs ~460 MB dot.net dependencies - - [git-credential-manager-core](https://aur.archlinux.org/packages/git-credential-manager-core) - - Installs ~525 MB dot.net dependencies + - [git-credential-manager-bin](https://aur.archlinux.org/packages/git-credential-manager-bin) + - [git-credential-manager-extras](https://aur.archlinux.org/packages/git-credential-manager-extras) ## Gopasspw git-credential-gopass diff --git a/docs/media/audio/pulseaudio.md b/docs/media/audio/pulseaudio.md index bc49b5d7ae3c884608eb2898eae8bf6ce88b3578..6dbce34b6684d791e113bec6e2b6c894f5f63cf7 100644 --- a/docs/media/audio/pulseaudio.md +++ b/docs/media/audio/pulseaudio.md @@ -1,41 +1,76 @@ # Pulseaudio +- [Arch wiki: PulseAudio](https://wiki.archlinux.org/title/PulseAudio) +- [Arch wiki: PulseAudio/Examples](https://wiki.archlinux.org/title/PulseAudio/Examples) + ## Usage +Demo sounds: + +- `/usr/share/sounds/freedesktop/stereo/` +- `locate .ogg` + Play (paplay can't play `mp3`): - paplay ~/Audio/examples/Thriller.ogg - paplay /usr/share/sounds/alsa/Front_Center.wav +```sh +paplay /usr/share/sounds/freedesktop/stereo/bell.oga +paplay -d bluez_output.C8_7B_23_9D_AA_8A.1 /usr/share/sounds/freedesktop/stereo/bell.oga +``` + +Show general info about pulseaudio (including default sink/source): + +```sh +pactl info +``` List all configured pulseaudio components (including soundcards): - pactl list +```sh +pactl list +``` + +List available sinks: + +```sh +pactl list short sinks +pactl list sinks # Very verbose +``` + +Configure default sink: + +```sh +pactl set-default-sink bluez_output.C8_7B_23_9D_AA_8A.1 +``` Configure volume: - pactl set-sink-volume 0 +5% - pactl set-sink-volume 0 -5% - pactl set-sink-mute 0 toggle - pactl set-source-mute 1 toggle +```sh +pactl set-sink-volume 0 +5% +pactl set-sink-volume 0 -5% +pactl set-sink-mute 0 toggle +pactl set-source-mute 1 toggle +``` ## Issues ### Device/sink suspended -https://unix.stackexchange.com/a/171925 +<https://unix.stackexchange.com/a/171925> Disable `module-suspend-on-idle` in either `.config/pulse/default.pa` or `/etc/pulse/default.pa`. ## Troubleshooting -https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting +<https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting> Debug output: - systemctl --user stop pulseaudio.socket pulseaudio.service - pulseaudio -v +```sh +systemctl --user stop pulseaudio.socket pulseaudio.service +pulseaudio -v +``` ## Etc -* [How to auto-switch to new connected (i.e. bluetooth) sink](https://askubuntu.com/a/396166) +- [How to auto-switch to new connected (i.e. bluetooth) sink](https://askubuntu.com/a/396166)