summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-29 17:30:31 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-29 17:30:31 +0200
commit3821e15735d0389e57d3052fe7fcf8a135f247be (patch)
tree97754f3124bfcaee52ed283feeef14255669954a /.local
parentc7fb64dc7e4c23a75a0c70ed04cac2b90dac45fd (diff)
downloaddotfiles-3821e15735d0389e57d3052fe7fcf8a135f247be.tar.gz
dotfiles-3821e15735d0389e57d3052fe7fcf8a135f247be.zip
misc(nvim): remove disable_kwallet_secret_service
It's not useful. The user will just get an error when syncing if they have another secret service provider and it will be obvious enough what has to be uninstalled.
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/dotfiles16
1 files changed, 0 insertions, 16 deletions
diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles
index 2542f28..8b81475 100755
--- a/.local/bin/dotfiles
+++ b/.local/bin/dotfiles
@@ -37,21 +37,6 @@ sync_aur() {
fi
}
-disable_kwallet_secret_service() {
- # pass-secret-service can only own org.freedesktop.secrets if KWallet
- # (KDE's default provider) releases the name. Disable KWallet and its
- # Secret Service API. Idempotent: only writes kwalletrc when not already
- # off; the pass-secret-service unit itself is D-Bus activated, no enable.
- local enabled api
- enabled="$(kreadconfig6 --file kwalletrc --group Wallet --key Enabled)"
- api="$(kreadconfig6 --file kwalletrc --group "org.freedesktop.secrets" --key apiEnabled)"
- if [[ $enabled == false && $api == false ]]; then return; fi
- if prompt_for_install "KWallet still owns org.freedesktop.secrets — disable it"; then
- kwriteconfig6 --file kwalletrc --group Wallet --key Enabled --type bool false
- kwriteconfig6 --file kwalletrc --group "org.freedesktop.secrets" --key apiEnabled --type bool false
- fi
-}
-
sync_mdformat() {
local pipx_json
pipx_json="$(pipx list --json)"
@@ -158,7 +143,6 @@ sync)
)
sync_deps "${deps[@]}"
sync_aur pass-secret-service-bin vim-language-server
- disable_kwallet_secret_service
sync_nvim
sync_mdformat
sync_claude