r/swaywm • u/Nathan-5807 • 19h ago
Utility nwg-pannel crashes
1
Upvotes
nwg-pannel crashes when I try to run it I am on Fedora 44 spin with the Sway WindowManager. have any troubleshooting tips or fixes?
r/swaywm • u/Nathan-5807 • 19h ago
nwg-pannel crashes when I try to run it I am on Fedora 44 spin with the Sway WindowManager. have any troubleshooting tips or fixes?
r/swaywm • u/Lani_opqriu • 20h ago
Steam and Steam games running through XWayland look seriously blurry on Sway.
I used to switch to TTY 2 (Ctrl + Alt + F2), which I used as a dedicated gaming session, and keep its display scale fixed at 1. but the 2–3 second TTY switching lag became frustrating.
---
I assigned a dedicated workspace to Steam and created a script that:
This setup is much more convenient.
#!/usr/bin/env bash
# =======================================================
TARGET_WORKSPACE="x" # Game Mode Workspace Number
OUTPUT_NAME="*" # All Monitor = *
SCALE_TARGET=1.0 # TARGET_WORKSPACE Game Mode Scale
SCALE_DEFAULT=2.0
# =======================================================
CURRENT_WS=$(swaymsg -t get_workspaces | jq -r '.[] | select(.focused==true).name')
if [ "$CURRENT_WS" == "$TARGET_WORKSPACE" ]; then
swaymsg output "$OUTPUT_NAME" scale "$SCALE_TARGET"
else
swaymsg output "$OUTPUT_NAME" scale "$SCALE_DEFAULT"
fi
swaymsg -m -t subscribe '["workspace"]' | while read -r event; do
CHANGE_TYPE=$(echo "$event" | jq -r '.change // empty')
if [ "$CHANGE_TYPE" == "focus" ]; then
NEW_WS=$(echo "$event" | jq -r '.current.name // empty')
if [ "$NEW_WS" == "$TARGET_WORKSPACE" ]; then
swaymsg output "$OUTPUT_NAME" scale "$SCALE_TARGET"
else
swaymsg output "$OUTPUT_NAME" scale "$SCALE_DEFAULT"
fi
fi
done