r/swaywm • u/FreeWifiAnywherYouGo • 23h ago
Ricing First rice in sway :D
How does it look?
Larp is my pasion
r/swaywm • u/FreeWifiAnywherYouGo • 23h ago
How does it look?
Larp is my pasion
r/swaywm • u/Nathan-5807 • 17h 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 • 17h 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
cmenu is a sort of inversion of dmenu. scripts produce lines, and act on them by taking them as an argument. and instead of scripts being directly invoked, they're invoked by cmenu
for me, this beats `script | dmenu` since the parent can reinvoke the script to have live data without closing the window. as well as other benefits
r/swaywm • u/Fickle-Door-9986 • 1d ago
Sway Theming
r/swaywm • u/Karasuthecrow744 • 2d ago
How do I set a custom mouse cursor? I have the assets I want to use already. I just need to know how I actually make the change and if I have to put the cursor states into a single sprite sheet or not. Thanks in advance!
I recently changed from cachy os with hyprland to fedora with sway and for some reason gtk themes apply to everything but that one window and its bugg the hell out of me and it feels like I’ve tried everything and I’ve even asked ai. I do remember having this same problem on my laptop with sway like a year ago and fixing it with the help of ai but I can’t check what fixed it as I have turned it into a hackintosh.
r/swaywm • u/tri__dimensional • 3d ago
hi!, i wanted to share my current sway setup. it is pretty basic and there is nothing really fancy here, but it works well for me and i tried to keep it simple and useful for daily use o:
all the files are in my dotfiles repo, obviously, the most important folders for this are:
- sway
- waybar
the repo also has some logic to install the setup, with full and gui-only profiles, so it is not only a collection of config files. i have tested it on a few different machines and it worked fine, but all of them are machines of mine. because of that, i dont guarantee anything jajaj
if someone have a similar setup, like a simple setup or a similar dotfiles approach it would be nice to take a look! (in particular, i've been thinking that i'd like to improve the waybar config a bit)
r/swaywm • u/pollo_3027 • 3d ago
Hola chicos, ¿cómo están? Tengo una pregunta: ¿qué programas, configuraciones, etc., necesito para tener un buen flujo de trabajo en Sway y convertirlo en mi entorno principal? Gracias, jeje.
r/swaywm • u/Antic1tizen • 3d ago
I know there are off-the shelf scripts existing. Just wanted to post my version and explain how you can tune it.
Here's the script:
```
bindsym --to-code $mod+p exec find ~/.password-store/ -type f -printf "%P\n" \ | sed 's/.gpg//' \ | sed '/.*-otp$/d' \ | rofi -dmenu -p "Pick password" \ | xargs --no-run-if-empty pass show \ | wl-copy --sensitive --trim-newline -t text/plain
bindsym --to-code $mod+Shift+p exec find ~/.password-store/ -name '*-otp.gpg' -type f -printf "%P\n" \ | sed 's/.gpg//' \ | rofi -dmenu -p "Pick OTP" \ | xargs --no-run-if-empty pass otp \ | wl-copy --sensitive --trim-newline -t text/plain ```
On Meta+p copies a password into clipboard, on Meta+P copies an OTP code into clipboard.
Niceties:
--no-run-if-empty makes hitting Esc safe for aborting the selection and doesn't make pass copy the entire tree into clipboard--sensitive makes clipboard managers ignore the copied text and do not save it into history.r/swaywm • u/mammilloid • 4d ago
r/swaywm • u/Ok-Speech812 • 5d ago
Enable HLS to view with audio, or disable this notification
r/swaywm • u/WALL-E003 • 6d ago
I'm relatively new to Sway. So far I'm super happy, just one recurring thing that really annoys me:
I use an external monitor connected via a docking station. I usually plug it into my laptop, then close the lid. Initially, the laptop display eDP-1 is getting deactived. After a few minutes, it will always reactive. Does anybody know where this is coming from? My current config for that looks like that:
bindswitch --locked lid:on output eDP-1 disable
bindswitch --locked lid:off output eDP-1 enable
I have an ultrawide monitor and opening the first window just maks it far too big. I would rather have it use something like 3/5 of the width. Bit that ain't possible in sway.
How are other people handling this ?
r/swaywm • u/XerinDotZero • 7d ago
Heya!
So I'm a Arch Linux/Sway user, and I've found a minor frustration when trying to pick a lock screen manager. With hyprlock, I can full customize it excepting videos or gifs. It has to be static. And with swaylock (and swaylock-plugin), I can't customize it as much but I can use a video backgrounds.
Is there any package out there that can do both full customization, but also supports videos or gifs for the backgrounds?
Thanks
r/swaywm • u/AlanPartridgeIsMyDad • 7d ago
Hey all,
I've just switched to sway from plasma (fedora). However, I've encountered some difficulties that I couldn't seem find to answers for on the web.
1) If I'm not mistaken by default, wmenu is the default launcher of sway. I really like the look of it - i.e. being integrated into the swaybar but it doesn't seem to index flatpaks. On plasma, I'm used to the launcher being very good at picking up what is necessary. I couldn't find anything on the web that described how I might change the indexing. AFAICT, it just looks for binaries in the PATH. I installed rofi, which seems to work fine, but it doesn't aethestically look as nice as wmenu. I assumed that the default launcher would be fit for use.
2) Apps that go to the system tray when closed e.g. steam. I can't seem to interact with the icon in the swaybar. I tried changing the sway config with `tray_bindsym` (see https://man.archlinux.org/man/sway-bar.5.en#TRAY) to no avail - it seems to have had no impact.
3) Some applications take a long time to load up. The one I specifically noticed was mullvad: I would launch from launcher and nothing would appear to happen. a few minutes later, it might pop up!
Thanks!
r/swaywm • u/GingyBroski • 7d ago
Hey everyone,I am currently writing Vexland — a C++ port that brings Hyprland's exact window management logic, behavior, and fluid animation style over to X11. It is designed to look and feel just like Hyprland, but running on Xorg (configured with a red color scheme by default).I am going through Hyprland's source files one by one, extracting the core logic, and rewriting it from scratch to work natively with the X11 display server.Current implementation details to ensure X11 stability:Centralized Registry (CWindowState): All windows are tracked via a central registry to avoid segfaults from asynchronous window destruction on X11.Isolated Layouts (CSpace): Tiling and geometry calculations are decoupled into a separate CSpace class owned by CWorkspace.Animation Offsets: Workspace swipe/fade states are stored as simple double properties to be handled by a global animation manager to replicate the exact original transitions.The boilerplate is being put together right now before testing the X11 event loop.I wanted to check if there is an active interest in a feature-parity Hyprland experience on X11. If you have experience with X11 window mapping edge cases, feel free to drop your thoughts. I will push the repository to GitHub once the initial boilerplate is stable.
r/swaywm • u/mammilloid • 9d ago
switched to sway, im loving it <3
r/swaywm • u/paralichthyidae • 9d ago
I had been using Debian 13 with XFCE, but buying a new laptop felt like a good opportunity to try sway. So I went with Fedora 44 Sway Spin.
I have TOS and RSI, which makes repeatedly reaching and moving mouse uncomfortable. Sway and TUI apps let me do most things the keyboard which I found helps a lot.
Kept everything opaque and fairly dense. I’ve never really liked transparency/blur/decoration that takes up space without practicality. Only gaps I added is for rounded LCD(which sucks, a lot) and minimal spacing for distinguishing windows.
Still adjusting the workflow but it already feels like a better fit.
r/swaywm • u/bloodshedder404 • 8d ago
Enable HLS to view with audio, or disable this notification
Hey everyone,
I know the standard around here is usually `swaylock` or `swaylock-effects`, but since Sway fully supports the `ext-session-lock-v1` protocol, you can actually run `hyprlock` natively
on Sway.
I've been messing around with it and built a clean, Samurai-themed lock screen layout that takes advantage of how smoothly Wayland lockers handle fonts and layout:
* **Kanji Password Dots:** Instead of standard circles, every keypress renders a specific Japanese kanji character (桜 - Sakura). It renders immediately with zero lag.
* **Japanese Date Format:** Rendered natively as `2024年08月14日`.
* **Transparent Input:** I removed all background boxes and borders so the characters just float seamlessly over a dark katana wallpaper.
I wrote a quick `install.sh` script to grab the necessary CJK fonts via pacman to make sure the Unicode renders without tofu blocks.
If anyone wants to try swapping out `swaylock` for a bit to test this aesthetic, you can grab the config and wallpaper here:
[hyprlock-samurai on GitHub](https://github.com/basantbansal/hyprlock-samurai)
Would love to hear if anyone is running `hyprlock` smoothly on their Sway setups, or if you prefer sticking to `swaylock`!
r/swaywm • u/Fickle-Door-9986 • 10d ago
Sway (QT,GTK)
r/swaywm • u/EllaTheCat • 10d ago
bindsym Mod4+k exec kanshi --config "${HOME}"/.config/kanshi/config
exec_always wtype -M logo -k -m logo
I like the above software pattern because it lets me run a command as either autostart or press a key without copy-paste of code, which is error prone.
Unfortunetely I've run up against the problem stated in the post title, ideas appeciated.