From 262327ab941133bb9f323a6318f3844667daa717 Mon Sep 17 00:00:00 2001 From: whiteman808 Date: Sat, 21 Feb 2026 06:12:10 +0100 Subject: [PATCH] [profiles/desktop] modify .zprofile --- profiles/desktop/.zprofile | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/profiles/desktop/.zprofile b/profiles/desktop/.zprofile index 7bf411c..365f101 100644 --- a/profiles/desktop/.zprofile +++ b/profiles/desktop/.zprofile @@ -1,13 +1,12 @@ -export DOCKER_HOST=unix://${XDG_RUNTIME_DIR}/docker.sock -export PODMAN_COMPOSE_PROVIDER=podman-compose -export MPD_HOST=${HOME}/.config/mpd/socket -export GRIM_DEFAULT_DIR=${HOME}/Pictures/Screenshots -export ROFI_PASS_BACKEND=wtype -export ROFI_PASS_CLIPBOARD_BACKEND=wl-clipboard +export DOCKER_HOST="unix://${XDG_RUNTIME_DIR}/docker.sock" +export PODMAN_COMPOSE_PROVIDER="podman-compose" +export MPD_HOST="${HOME}/.config/mpd/socket" +export GRIM_DEFAULT_DIR="${HOME}/Pictures/Screenshots" +export ROFI_PASS_BACKEND="wtype" +export ROFI_PASS_CLIPBOARD_BACKEND="wl-clipboard" -if [[ ! -z "${START_X11}" ]]; then - unset START_X11 - # exec startx - exec sway - logout +if [[ -n "${START_X11}" ]]; then + unset START_X11 + exec sway + logout fi