Audio que vuelve solo; fuera sshd, OBS y Nix

- .xinitrc: pipewire, wireplumber y pipewire-pulse en un bucle mientras
  X siga abierto; si wireplumber se cae, vuelve al segundo en vez de
  dejar el audio en "Dummy Output".
- sshd y nix-daemon fuera de los servicios.
- Fuera obs y qt6ct (qt5ct se queda para hplip) y nix con webcord
  (Discord va en Firefox); quitar borra también /nix y el perfil.
- .bashrc sin lo de Nix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01C5v1qWDwgkaVM5kjVHGGh8
This commit is contained in:
Alejandro Guerrero 2026-09-28 16:17:58 +02:00
parent 20cb3ae4a6
commit 0e90f6029e
Signed by: alejandrogs73
GPG key ID: 1CFF10953BEE333C
7 changed files with 64 additions and 63 deletions

View file

@ -16,11 +16,6 @@ export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1
# Cargar Nix (Asegura que los comandos de Nix funcionen si entras sin X11)
if [ -e /etc/profile.d/nix.sh ]; then
. /etc/profile.d/nix.sh
fi
# Editor por defecto
export EDITOR="nvim" # Cambia a "vim" si te gusta más sufrir/disfrutar
@ -93,6 +88,3 @@ ex() {
esac
done
}
# Forzar IPv4 en Nix (IPv6 del sistema está roto)
export NIX_CURL_FLAGS=-4

View file

@ -1,6 +0,0 @@
[ColorScheme]
# Everforest dark medium. Orden de los colores (QPalette):
# WindowText, Button, Light, Midlight, Dark, Mid, Text, BrightText, ButtonText, Base, Window, Shadow, Highlight, HighlightedText, Link, LinkVisited, AlternateBase, NoRole, ToolTipBase, ToolTipText, PlaceholderText
active_colors=#ffd3c6aa, #ff343f44, #ff4f585e, #ff475258, #ff232a2e, #ff3d484d, #ffd3c6aa, #ffe67e80, #ffd3c6aa, #ff232a2e, #ff2d353b, #ff1e2326, #ffa7c080, #ff2d353b, #ff7fbbb3, #ffd699b6, #ff2d353b, #ff2d353b, #ff3d484d, #ffd3c6aa, #ff859289
disabled_colors=#ff7a8478, #ff343f44, #ff4f585e, #ff475258, #ff232a2e, #ff3d484d, #ff7a8478, #ffe67e80, #ff7a8478, #ff232a2e, #ff2d353b, #ff1e2326, #ff475258, #ff7a8478, #ff7fbbb3, #ffd699b6, #ff2d353b, #ff2d353b, #ff3d484d, #ffd3c6aa, #ff859289
inactive_colors=#ffd3c6aa, #ff343f44, #ff4f585e, #ff475258, #ff232a2e, #ff3d484d, #ffd3c6aa, #ffe67e80, #ffd3c6aa, #ff232a2e, #ff2d353b, #ff1e2326, #ffa7c080, #ff2d353b, #ff7fbbb3, #ffd699b6, #ff2d353b, #ff2d353b, #ff3d484d, #ffd3c6aa, #ff859289

View file

@ -1,6 +0,0 @@
[Appearance]
color_scheme_path=$HOME/.config/qt6ct/colors/Everforest.conf
custom_palette=true
icon_theme=Papirus-Dark
standard_dialogs=default
style=Fusion

View file

@ -13,8 +13,7 @@ if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
exec dbus-run-session -- sh "$HOME/.xinitrc"
fi
# Apps Qt con el tema de qt5ct/qt6ct (Everforest, Papirus). El plugin de
# qt6ct también responde a "qt5ct", así que vale para Qt 5 y Qt 6.
# Apps Qt 5 (las ventanas de hplip) con el tema de qt5ct (Everforest, Papirus).
export QT_QPA_PLATFORMTHEME=qt5ct
# Teclado y pantallas primero. pantallas (sistema/usr/local/bin) las pone en
@ -23,9 +22,12 @@ export QT_QPA_PLATFORMTHEME=qt5ct
setxkbmap es
pantallas
pipewire &
wireplumber &
pipewire-pulse &
# Audio. Si alguno se cae, vuelve solo al segundo (sin wireplumber no hay
# ni altavoces ni bluetooth: todo sale por "Dummy Output"). Al cerrar X se
# acaba el bucle.
for p in pipewire wireplumber pipewire-pulse; do
while xset q >/dev/null 2>&1; do "$p"; sleep 1; done &
done
dunst &
picom &