
r/swaywm

Hyprland-like scratchpad on Sway?
I've always been an user of Sway, but I tried Hyprland for a few weeks and I liked it. However, despite the awesome project it is, it's not as stable as Sway, and many things break.
I changed back to Swayfx, and the only thing I miss is Hyprland's scratchpad. The ability of making windows tiled and have them all at once, instead of having to cycle through them.
Is there any way to replicate this on Sway?
Ultrawide and first window
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 ?
Difficulties switching to sway
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.
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.
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.
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!
FInding a package for my Sway setup
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
🗡️ Samurai-themed lock screen — kanji password glyphs & dark katana aesthetic
**Lockscreen:** [hyprlock](https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/)
**Dotfiles / Config:** [hyprlock-samurai on GitHub](https://github.com/basantbansal/hyprlock-samurai)
---
Hey everyone! I put together a minimal, samurai-themed config for Hyprlock.
I got tired of standard password dots, so I customized it to render the Japanese kanji character **春** on each keypress.
**Key Features:**
* Custom Kanji password glyphs (`春`)
* Fully transparent floating input field
* Japanese date formatting (`YYYY年MM月DD日`)
* Minimal dark green / katana aesthetic
Check out the repo if you'd like to try it, and drop a ⭐ on GitHub if you like the look!
[Sway] Framework 12 Sage
- WM: Sway (https://swaywm.org/)
- Terminal: Kitty (https://sw.kovidgoyal.net/kitty/)
- Shell: Zsh (Powerlevel10k, https://github.com/romkatv/powerlevel10k)
- Editor: Neovim (https://neovim.io/)
- Bar: Waybar (https://github.com/Alexays/Waybar)
- Launcher: Wofi (https://hg.sr.ht/\~scoopta/wofi)
- File Manager: Yazi (https://github.com/sxyazi/yazi)
- Notification Daemon: Swaync (https://github.com/ErikReider/SwayNotificationCenter)
- Multiplexer: Zellij (https://zellij.dev/)
- Clipboard Manager: Clipse (https://github.com/savedra1/clipse)
- Notes App: Notse (https://github.com/RahulSandhu/notse)
- Font: JetBrainsMono Nerd Font
- Bootloader: GRUB
- OS: Arch Linux
Dotfiles: https://github.com/RahulSandhu/dotfiles
Oxocarbon, mostly black
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.
Finally Finished my gentoo install with sway after a 7 month hiadous from linux its been a long 8 year journey in my linux journey of distro hopping, Crash outs, and reddit arguments. But.... All roads lead to gentoo
For those who asked for waybar
Custom Icon Font for Waybar
My Waybar config is unlikely to work out of the box for you. It depends on a full set of shell scripts written for my specific environment. Once you understand the approach, though, you can adapt the same idea to your own setup.
Step 1: Build a custom icon font from SVGs
The first (and most important) step is to create application icons from SVG files you find online and compile them into your own icon font.
I used a small Python script with the fontTools package to do this, but you don’t have to. Plenty of GUI typography tools make the process easier if you prefer a visual workflow.
The figure shows the method I created two-color icons for waybar. I have 2 SVGs for the same icon, the first one is the background, pay attention to "advance 0", GTK will overlap the foreground on top without shifting.
I mapped the icons starting at U+100000 (Plane 16). This range is reserved for private use in Unicode, so it’s ideal for custom Waybar icons.
Step 2: Installation & CSS setup
- Place the resulting font file (waybar_icon_font.ttf) in:
~/.local/share/fonts/ - In ~/.config/waybar/style.css, set the font stack like this: CSS
font-family: "My Icons", "JetBrains Mono", "Font Awesome 7 Free";
Even though the custom font only contains a dozen or so icons, the full Nerd Fonts set (and Font Awesome) remain available as fallbacks.
My Actually Productive Debian Setup (and rice) from script
This started as a plain Debian CLI installation with absolutely no desktop environment. I wanted to build my own setup from scratch, so I ended up scripting the entire installation and configuration process.
The current setup:
- WM: SwayFX
- Kernel: CachyOS
- Wayland shell: Noctalia
- Shell: Bash
- Terminal: Foot
- Terminal editors: Micro and Fresh
- Editor: VS Code
- Monitor management: wdisplays
- Docker Desktop working!
The idea is pretty simple:
Install Debian → download the script → run it → you get the whole setup.
I’ve been thinking about making a YouTube video showing the complete process, from a fresh Debian install to the final rice, including how the script works.
Would anyone here be interested in that?
My Sway + Vim DE
Sway + waybar + wofi + foot plus as many Vim-like applications as I know.
Music player = cmus
File manager = vifm
Image viewer = swayimg with Vim-style movements
PDF viewer = zathura
Database client = rainfrog
Wifi controls = impala
Git user interface = tig
It's a full Sway+Vim desktop environment.
Hi can anyone tell me Best way to theme sway (qt,gtk) I still don't know how to use qt gtk for apps and sway
Sway (QT,GTK)
Sway Week Two - Styled up and a pain in the bash
Follow Up to Week One! Week two is down and figured I'd jump in and update.
I got screenshots working!... Kinda... I searched and found grim and bound that to Mod+Shift+S, now I just gotta figure out how to like add a date/time to the screenshot, right now I'm overwriting the same screenshot file so I can only have one at a time unless I rename it hahahaha
Managed to get gaps working, Turns out the gaps don't update when you use `swaymsg reload`, you need to fully quit the session and then log back in? At least that's what fixed it for me, I assumed a reload would have worked but I guess not! Then after a restart to update... Poof they're working so It was a fluke but we're here.
I was able to style the waybar I don't think it looks too bad, though I'm probably going to keep tweaking, make it a bit darker to match the terminal background darkness better.
I was able to get desktop backgrounds working, and I set it up to pick a random one when it reloads. Eventually I'll set it up to update every X minutes or whatever, but for that I know I need like a systemd service for it, so I'll set that up eventually, for now this works.
I thought I figured out how to set the background image for swayidle/swaylock, It was working, but now it's just white... and I don't know why... So Things to eventually figure out.
I'm also only now finding out there's a difference between "sway" and "swayfx" and I feel like it took too long to find someone mentioning "swayfx" at all. It seems most people just refer to swayfx as sway which has been super confusing haha!
Like I would see people's "sway" dotfiles, see a "corner_radius" option go "Oh that sounds nice", add it to my config, and then get an error that says it doesn't exist. So I would go searching through the manual and see that the option didn't exist, so yeah that's... odd... clearly it's working for other people using "sway" but it's not working for me...
Only for me to realize weeks later that there's a different thing people also call sway which has extra visual features RIP me.
So might mess with uninstalling sway and installing swayfx, I'm backing up my configs before, and this system has nothing important on it so don't worry about me breaking my environment and needing to do a full reinstall lol If that's what it takes, I'll figure it out hahaha
Here's looking forward to another good week!
Ohh and I sticker bombed the laptop for fun
Found a package of stickers my sister had and realized I had free will and stole them
Getting logged out when trying to start with sway...
Hello!
I'm pretty new to everything that has anything to do with linux and ricing and I've been following some tutorials/instructions for arch linux installation and its ricing.
After getting a decent installation with gnome, I started trying to learn about the ricing part.
In my case, what I followed recommended a series of stuff to install, and one of them was ly and the window manager Sway.
After first creating the config file in /.config/sway/ directory and copying its default config file into it I saved and rebooted to sign in with sway, but an error with several red lines that disappear in a very fast period of time log me out before even getting where I wanted.
I'm pretty lost and would gracefully take some help from someone with experience.
Good Tuesday!
Zathura scrolling choppy after switching to sway
I just switched from i3 to sway. Zathura scrolling (i have smooth scrolling disabled) is laggy and choppy on sway. Here are the things I've tried:
- I have a 2k display and I'm using fractional scaling (1.5x). Setting the scale to 1x or 2x makes the scrolling smooth again.
- Running zathura with gtk backend set to x11 also makes it scroll smoothly (even at 1.5x scaling).
- Zooming out on the pdf to original size gives smooth scrolling on wayland. Zooming back in to fit to width gives smooth scrolling immediately for about quarter of a second before becoming choppy again.
Is there a way to fix this, or should I just run it on x11 backend?