1524100ff5
- Introduced new DMS plugins: `rbw-lock-toggle` for managing Bitwarden vault state and `wvkbd-toggle` for showing/hiding the on-screen keyboard. - Updated `flake.lock` and `flake.nix` to include the new plugins and their configurations. - Removed legacy options and files related to the rbw lock toggle, streamlining the DMS configuration. - Enhanced the home-manager module to support the new plugins and their integration into the DMS environment.
9 lines
281 B
Bash
9 lines
281 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
rt="${XDG_RUNTIME_DIR:-/run/user/$(id -u)}"
|
|
exec 9>"$rt/dms-plugin-restart.lock"
|
|
@FLOCK@ -n 9 || exit 0
|
|
cache="${XDG_CACHE_HOME:-$HOME/.cache}/quickshell/qmlcache"
|
|
rm -rf "$cache"
|
|
@SYSTEMCTL@ --user try-restart dms.service 2>/dev/null || true
|