Fuera avahi, xss-lock, chrony y nemo; .bashrc más limpio
- inactivo: slock cuando salta el salvapantallas de X (xssstate), en vez de xss-lock (glib, D-Bus y logind). - openntpd en vez de chrony. - Fuera avahi y nss-mdns (la impresora va por IP fija); quitar limpia nsswitch.conf. - Fuera nemo y upower (y con ellos gvfs y udisks2): las carpetas se abren en yazi dentro de st. - .bashrc: PATH sin repetidos y ex con bsdtar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C5v1qWDwgkaVM5kjVHGGh8
This commit is contained in:
parent
ed6bdc080a
commit
73d005dd30
8 changed files with 110 additions and 63 deletions
12
home/.local/bin/inactivo
Executable file
12
home/.local/bin/inactivo
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
# Bloquea con slock cuando salta el salvapantallas de X (xset s en .xinitrc:
|
||||
# 30 minutos sin tocar nada). Mira el estado con xssstate cada 5 s. Los
|
||||
# vídeos que piden no apagar la pantalla (mpv, Firefox) paran el salvapantallas
|
||||
# y así tampoco bloquea. Al suspender ya bloquea el hook de zzz.
|
||||
|
||||
while :; do
|
||||
if [ "$(xssstate -s)" = on ] && ! pgrep -x slock >/dev/null; then
|
||||
slock
|
||||
fi
|
||||
sleep 5
|
||||
done
|
||||
8
home/.local/share/applications/yazi-st.desktop
Normal file
8
home/.local/share/applications/yazi-st.desktop
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=yazi
|
||||
Comment=Carpetas con yazi en st (para xdg-open y Firefox)
|
||||
Exec=st -e yazi %f
|
||||
Terminal=false
|
||||
MimeType=inode/directory;
|
||||
NoDisplay=true
|
||||
Loading…
Add table
Add a link
Reference in a new issue