Sway is a tiling Wayland compositor and a drop-in replacement for the i3 window manager for X11.
Questions tagged [swaywm]
11 questions
4
votes
1 answer
How do screenshot permissions work in Wayland?
My understanding of the Wayland security model is that applications do not by default have access to other applications windows.
Yet, there are screenshot tools like "grim" that can, without further configuration by me, take a screenshot of the…
Nikratio
- 43
2
votes
1 answer
Why does starting `tmux` on sway launch over `swaymsg` does make tmux inaccesible?
I want to start tmux server on sway startup.
Therefore I created in sway.conf the following:
exec ~/.config/sway/scripts/start-up.sh
in which script I start tmux as such:
#!/usr/bin/env bash
# shellcheck disable=SC1091,SC2034
# set -e
# set…
Gabriel
- 131
- 4
2
votes
0 answers
Can I map Fn-h, Fn-j, Fn-k, and Fn-l to the arrow keys?
Anybody who uses vim would understand the motivation immediately.
By "Fn", I am referring to the key on laptops that switches between F1, F2, etc. and volume up, volume down etc.
This would be on linux in wayland, particularly sway.
It should be…
1
vote
0 answers
How to cycle between multiple windows of the same application?
I have the following in my swaywm config:
bindsym $mod+period [app_id="firefox"] focus
When I push $mod+., sway focuses on Firefox.
However, I sometimes have multiple Firefox windows open in different workspaces. How can I cycle between them?
I've…
xuhdev
- 2,111
1
vote
1 answer
How do I stack windows in a container positioned in the right/bottom part of a workspace?
I want to be able to organise my windows as follows:
---------------------
| term |===========|
| | editor |
| | |
---------------------
where I try to illustrate stacked windows by the equal signs in the upper part…
user9605929
- 121
1
vote
2 answers
SwayWM: How to create a tabbed container with the mouse?
In SwayWM it's possible to hold mod and drag windows to rearrange them. By default it seems when dragging a window onto the center of another window the positions are swapped.
Instead of that I would like to be able to drag a window onto another to…
The Oddler
- 163
- 1
- 10
1
vote
1 answer
How do I get xkb settings to work via xwayland? They work fine when used on Wayland-native applications
My custom keyboard mapping only works through xdg_shell applications, not through xwayland. I have configured Sway to show in the title bar what's running via xwayland and what's not, using for_window [tiling] title_format "%title — $shell".
My…
Thomas
- 619
0
votes
0 answers
Can't get PipeWire to work on Alpine Linux
I've recently started using Alpine as my desktop OS, and overall, it's been great! The wiki is helpful, there are plenty of packages, and everything is super fast. However, I'm having trouble with sound.
I followed the wiki instructions to set up…
0
votes
1 answer
X11 equivalents of grim, slurp, and wl-copy
I have been using Sway on Wayland for the last couple of years, but am currently stuck on X11/i3 due to various reasons...
The configs are compatible for the most part, but I am having trouble getting screenshots to work.
What is the easiest way I…
Ruslan
- 111
0
votes
0 answers
How to launch terminal based programs from a program launcher?
When I'm trying to launch a terminal based software (lf or neovim for example) using rofi/wofi or any other launcher, nothing happens.
I'm using Sway as a window manager.
IMAD OUCHAIB
- 101
- 2
0
votes
1 answer
Qt5 on Wayland - how to set keyboard repeat rate?
I'm running SwayWM. I set the keyboard repeat delay and rate in ~/.config/sway/config as:
input * repeat_delay 180
input * repeat_rate 50
This works in everything except Qt5 applications. Qt5 applications use their own repeat delay and rate, and it…
Owen
- 865