~mehdix/dotfiles

0166b86c8cd4827dc68da35d584b4c40041faf54 — Mehdi Sadeghi 1 year, 5 months ago 1f2950e
Apply xdg-desktop-portal-wlr config + minor fixes

- Change git credential helper to store credentials
- Add username to i3status
- Add a python keyring workaround
4 files changed, 9 insertions(+), 3 deletions(-)

M .config/sway/config
M .config/sway/xdpw
M .env
M .gitconfig
M .config/sway/config => .config/sway/config +2 -1
@@ 236,7 236,7 @@ bar {

	# When the status_command prints a new line to stdout, swaybar updates.
	# The default just shows the current date and time.
	status_command while date +'%A W%V %Y-%m-%d %l:%M:%S %p'; do sleep 1; done
	status_command while echo $USER@$(hostname) $(date +'%A W%V %Y-%m-%d %l:%M:%S %p'); do sleep 1; done

	colors {
		statusline #ffffff


@@ 257,3 257,4 @@ exec ~/.config/sway/xdpw

# Load machine specific configuration
include ~/.config/sway/`hostname`


M .config/sway/xdpw => .config/sway/xdpw +2 -2
@@ 3,5 3,5 @@
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway

# Stop any services that are running, so that they receive the new env var when they restart.
systemctl --user stop pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
systemctl --user start pipewire-media-session
systemctl --user stop pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-wlr
systemctl --user start wireplumber

M .env => .env +3 -0
@@ 63,4 63,7 @@ export BROWSER=w3m
export GPG_TTY="$(tty)"
gpg-connect-agent updatestartuptty /bye >/dev/null

# Null keyring for python - avoids problems with wallets
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring

echo .env end

M .gitconfig => .gitconfig +2 -0
@@ 15,3 15,5 @@
#	smtpPass = <pass> # or use pass-git-helper
#	smtpServerPort = 587

[credential]
	helper = store