Skip to content
Snippets Groups Projects
Unverified Commit 6ca1544b authored by T. Hinrichsmeyer's avatar T. Hinrichsmeyer
Browse files

etc

parent aa60411a
Branches
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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
......
......@@ -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
......@@ -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
......
# 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):
```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:
```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:
```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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment