r/swaywm

shmooz: A zoom / magnifier utility for Wayland compositors
▲ 23 r/swaywm+1 crossposts

shmooz: A zoom / magnifier utility for Wayland compositors

Hello, I have built a small Wayland tool called shmooz.

It's a simple tool that just zooms the current Wayland output, lets you pan around, draw a few annotations, use a spotlight around the pointer, and save or copy what is currently visible.

I wrote it mostly because I wanted something simple for presentations, screen sharing, and pointing at things without dragging a full screenshot editor into the workflow.

It can currently:

  • zoom and pan the focused output
  • spotlight on pointer
  • draw basic annotations: pen, highlighter, lines, rectangles, ellipses, text
  • save/copy as a screenshot

Example on how to bind it in sway: (i havent tested other wayland compositor but that probably would work)

bindsym $super+b exec pgrep shmooz && killall shmooz || shmooz --zoom-in 10% --output "$(swaymsg -t get_outputs | jq -r 'map(select(.focused == true)) | .[].name')"

The project is written in Rust and uses Wayland/layer-shell. It is still young, so expect rough edges. I have only tested the workflow I use myself.

Repo:

https://github.com/chmouel/shmooz

AUR package is available as well.

github.com
u/chmouelb — 1 day ago
▲ 0 r/swaywm

First time on sway pls help

I downloaded it but it doesnt have any premade out of the box usable themes so i wanted to look for dotfiles but they are all too complicated with 15-20 apps alongside it. Could anyone help me set up or have an easy to apply config

reddit.com
u/ConsistentNarwhal731 — 3 days ago
▲ 14 r/swaywm

For what reasons Sway stands out for you?

name of this post sounds kinda clickbait,

but im genuinely curious about what makes Sway stands out from other wms and especially from i3wm.

p.s.: im sorry if this post in any way violating this sub rules or of this post is often/common. beat me to same post if there is one🙏. i really love all the linux users and just want to know more about this one wm

Edit: Thanks for everybody answers!

reddit.com
u/RWthatisordinary — 5 days ago
▲ 2 r/swaywm

[Help request] UI elements are too small

https://preview.redd.it/4ysqd625pi1h1.png?width=1920&format=png&auto=webp&s=a3de4c3224e2ecea3dab3ad9b74c70a68685c46a

With scale 1, we see that the UI elements are just too small: look at the size of the notification (notify-send "so small"), the search bar and tabs of the browser.

But, with scale 2, the same UI elements are way blown out of proportion.

Yet, the use of fractional scaling is discouraged by the Sway docs... So what is the correct solution here?

reddit.com
u/abc22222222222222 — 6 days ago
▲ 1 r/swaywm

I just wanted to notice how awesome Sway is when working with multiple coding agents

Genuinely better experience than on MacOS, or Windows. Everything always stays nicely tiled, tabbed, ordered. It is easy to achieve nice typography.

It is easy to maintain multiple sessions, see live what they do, organize everything. Generally tiling window managers are great for this.

u/mcharytoniuk — 7 days ago
▲ 8 r/swaywm

What tools you use on sway?

Stuff like app launcher, notification daemon, screenshot app, clipboard manager, wallpaper manager, polkit, and other stuff you find useful, or fun like a emoji picker. If you also want to explain why you chose that specific tool/util I will greatly appreciate it.

reddit.com
u/thicctak — 8 days ago
▲ 3 r/swaywm

Playing steam games on Sway. Problems with fullscreen on gamescope.

When opening a game with gamescope with the -f command my wm crashes entirely. This does not happen if I open it windowed and then fullscreen with sway's key bind. I don't understand why this happen and leads to some latency issues caused by gamescope due to me playing on windowed. Any ideas of what could be happening?

reddit.com
u/Sufficient_Earth7768 — 7 days ago
▲ 1 r/swaywm

Need some help getting dark theme for qtk and qt apps.

Hi,

im new to sway and was wondering how i can get darkmode for GTK and qt apps? ( thunar, obsidian, librewolf etc)
I tried putting this in my config, but doesnt seem to have any effect.

exec_always {

gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'

}

EDIT:
Ive got xdg-desktop-portal-1.21.1-1.fc44.x86_64 installed and
systemctl --user status xdg-desktop-portal

● xdg-desktop-portal.service - Portal service

Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)

Drop-In: /usr/lib/systemd/user/service.d

└─10-timeout-abort.conf

reddit.com
u/AnnualIron5094 — 8 days ago
▲ 28 r/swaywm+1 crossposts

[Feature] Dunst timout indicator

Not really sure if dunst is considered suckless but I personally do due to it's minimalism and simple configurations. That's why I am posting it here. I do apologize if this is not right place. Let me know if there's right place to post this if not here (I request mods to consider this, thank you.)

I wanted to have some indication for how long the notification will stay on screen so i added this feature in dunst. I have added timeout progress bar above notification.

Github: https://github.com/Harshit-Dhanwalkar/dunst

Pull request : https://github.com/dunst-project/dunst/pull/1550

u/TylerDurden0118 — 10 days ago
▲ 8 r/swaywm

Ideas for better bindings, particularly for workspaces?

For the longest time, I have workspaces done all on my left hand--this makes sense to me since following e.g. "focus workspace" or "move to workspace" use the chances of using the mouse is high so my right hand is already ready. However, I have Super+{tab,q,w,e,1,2,3} keys to switch to workspaces and where holding Ctrl (Capslock in my case since I have it has Ctrl when held and ESC when tapped, a common layer key remapping) moves the active window to the target workspace.

With this setup I am developing thumb pain due to the thumb tuck to press the Super key. To workaround this, I have Tab key mapped to super and use my pinky instead.

I plan to move to a 34-key split keyboard approach with homerow mods but would still like to find a solution for traditional keyboard layout (still useful when using laptop's builtin keyboard). I'm not sure I'd want to commit to the learning curve of homerow mods on a qwerty keyboard without first gathering other people's experiences with this since homerow mods on 34-key split keyboard is already quite the investment itself (I'm not sure it's that trivial to switch between 34-key homerow mod setup vs traditional keyboard homerow mod setup--to me the cognitive overhead makes me hesitant to simply try homerow mods on traditional keyboard setup).

Curious any ideas how you guys are dealing with this. I don't want to use modes or nested bindings to do something as frequent as switching workspaces and moving windows.

reddit.com
u/gkaiser8 — 9 days ago
▲ 13 r/swaywm

Sway fullscreen for Chromium/Electron without losing tabs and address bar

I kept running into a small but persistent Sway annoyance: pressing mod+f on Chromium/Electron makes the window fill the screen, but the app also treats it as application fullscreen and hides the tab bar/address bar.

What I wanted was closer to “make this window take the whole output” without telling the app to enter its own fullscreen UI. F11 and video fullscreen should still work normally.

I made a small Wayland proxy for that:

https://github.com/w9n/wl-app-fullscreen

It launches one app through a proxy and strips compositor-initiated FULLSCREEN state from xdg_toplevel.configure, while preserving client-initiated fullscreen from F11 / DOM fullscreen.

Example:

wl-app-fullscreen -- chromium
u/cloudizz — 11 days ago
▲ 123 r/swaywm+1 crossposts

Minimal Nord Sway Setup (Fedora 44)

Loving my lightly Nord-themed setup, I wouldn't go so far as to call this "riced":

  • Waybar
  • Rofi
  • Icons: Papirus Dark
  • Cursor: Bibata Modern Classic
  • Notifications: dunst
  • Image Viewer: imv
u/tyresmoke — 13 days ago
▲ 2 r/swaywm

how to avoid screen burn/image retention

i noticed some icons that were displaying on waybar burned into the screen even when booted into windows. It's gradually faded and is mostly gone now. Any way to prevent this in the future? Any idea what causes this? Never had this problem on x11 or windows, on any machine before. (including those os on this laptop, fw13)

reddit.com
u/Brave_Elk_6189 — 11 days ago
▲ 86 r/swaywm

[Sway] Tokyo Night (Hybrid setup)

  • OS: Fedora 43
  • WM: Sway
  • Theme: Tokyo Night (unified across all apps)
  • Bar: Waybar (custom CSS + Nerd Font icons)
  • Terminal: Kitty
  • Shell: Zsh + Powerlevel10k
  • Font: JetBrainsMono Nerd Font
  • Launcher: Rofi-Wayland
  • File Manager: Yazi (CLI) / Thunar (GUI)
  • Editor: Neovim (Tokyo Night theme)
  • Other Tools: Btop, Lazygit, SwayNC, SwayOSD

Dotshttps://github.com/mercyyy12/dotfiles

Wallpaper: Included in .config/backgrounds in the repo.

Uncompressed Wallpaper: Uncompressed Background Picture

u/NoMercyyy12 — 13 days ago
▲ 2 r/swaywm

Setting a single image as a wallpaper on dual monitor setup.

Hi, I have a wallpaper file about 3840x1080 and want to set it as a continuous wallpaper encompassing both my montitors.

Can I do it with swaybg? I can't seem to find proper documentation for swaybg and the manpage doesn't seem to suggest anything either.

Is this possible to do with swaybg? Or do I have to split it to two files?

reddit.com
u/Both-River-9455 — 10 days ago