Socket path

This commit is contained in:
John Mertz 2022-06-07 08:06:58 -04:00
parent 24490978ee
commit 7e0362ec69
4 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
# Load aliases # Load aliases
source ${HOME}/.dotfiles/bash/bash_aliases source ${HOME}/.dotfiles/bash/bash_aliases
@ -11,7 +13,7 @@ fi
ssh-agent -a "$SSH_AUTH_SOCK" >/dev/null ssh-agent -a "$SSH_AUTH_SOCK" >/dev/null
# Static/predictable Sway socket # Static/predictable Sway socket
export SWAYSOCK="${HOME}/.spool/sway-ipc.sock" export SWAYSOCK=`sway --get-socketpath`
# Standardize language on en_US because of the ubiquity # Standardize language on en_US because of the ubiquity
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"

View File

@ -99,5 +99,5 @@ export XDG_SESSION_TYPE="wayland"
export XDG_CURRENT_DESKTOP="sway" export XDG_CURRENT_DESKTOP="sway"
export XDG_CONFIG_HOME="${HOME}/.config" export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_DIRS="$XDG_DATA_DIRS:${HOME}/.config/flatpak/exports/share" export XDG_DATA_DIRS="$XDG_DATA_DIRS:${HOME}/.config/flatpak/exports/share"
export SWAYSOCK="${HOME}/.spool/sway-ipc.sock" export SWAYSOCK=`sway --get-socketpath`
export CHROME_EXECUTABLE="/usr/bin/chromium" export CHROME_EXECUTABLE="/usr/bin/chromium"

View File

@ -8,7 +8,7 @@
assign [class="XTerm"] 1 assign [class="XTerm"] 1
assign [class="Mattermost"] 1 assign [class="Mattermost"] 1
assign [class="UXTerm"] grave assign [class="UXTerm"] grave
assign [class="thunderbird"] 2 assign [class="Thunderbird"] 2
assign [class="Chromium"] 3 assign [class="Chromium"] 3
assign [class="Linphone"] 5 assign [class="Linphone"] 5
assign [class="firefox"] 7 assign [class="firefox"] 7

View File

@ -166,7 +166,7 @@
"interval": 600, "interval": 600,
"tooltip-format": "<span font='Anonymous Pro 12'><big>{:%d %B}</big>\n<tt><small>{calendar}</small></tt></span>", "tooltip-format": "<span font='Anonymous Pro 12'><big>{:%d %B}</big>\n<tt><small>{calendar}</small></tt></span>",
"on-click": "${HOME}/scripts/waybar/waybar-weather.pl notify", "on-click": "${HOME}/scripts/waybar/waybar-weather.pl notify",
"exec": "${HOME}/scripts/waybar/waybar-weather.sh bar" "exec": "${HOME}/scripts/waybar/waybar-weather.pl bar"
}, },
"network": { "network": {
// "interface": "wlp58s0", // (Optional) To force the use of this interface // "interface": "wlp58s0", // (Optional) To force the use of this interface