summaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config3
-rw-r--r--.config/sway/xdpw4
2 files changed, 4 insertions, 3 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 4cd1a74..4a550f4 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -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`
+
diff --git a/.config/sway/xdpw b/.config/sway/xdpw
index 81fc8ca..fe3fb96 100644
--- a/.config/sway/xdpw
+++ b/.config/sway/xdpw
@@ -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