swaydots

default description
git clone https://git.awy.one/swaydots.git
Log | Files | Refs | README

commit 5234ccccb9831e7686a346aeec60d28cd13c5753
parent a48cbbd6a421b202f78a3667897e4c9720489394
Author: awy <awy@awy.one>
Date:   Sat, 15 Feb 2025 01:20:53 +0300

update

Diffstat:
M.config/shell/profile | 7++++++-
M.config/sway/config | 1+
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/.config/shell/profile b/.config/shell/profile @@ -14,6 +14,11 @@ export TERMINAL="foot" export TERMINAL_PROG="foot" export BROWSER="firefox" +unset SSH_AGENT_PID +if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then + export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" +fi + # Change the default crypto/weather monitor sites. # export CRYPTOURL="rate.sx" # export WTTRURL="wttr.in" @@ -80,7 +85,7 @@ export BEMENU_OPTS='--fb "#2e3440" --ff "#d8dee9" --nb "#2e3440" --nf "#d8dee9" [ ! -f "$XDG_CONFIG_HOME/shell/shortcutrc" ] && setsid -f shortcuts >/dev/null 2>&1 # Start graphical server on user's current tty if not already running. -[ "$(tty)" = "/dev/tty1" ] && ! pidof -s sway >/dev/null 2>&1 && exec dbus-run-session gpg-agent --daemon sway --unsupported-gpu +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s sway >/dev/null 2>&1 && exec dbus-launch --exit-with-session sway --unsupported-gpu # Switch escape and caps if tty and no passwd required: doas -n loadkeys "$XDG_DATA_HOME/larbs/ttymaps.kmap" 2>/dev/null diff --git a/.config/sway/config b/.config/sway/config @@ -11,6 +11,7 @@ font pango:monospace 10 exec start-pipewire exec reloadsingbox exec dunst +exec gpg-agent --daemon exec foot --server exec portal