Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sway]

SirCmpwn's Wayland compositor is a work-in-progress i3-compatible Wayland compositor.

0
votes
0answers
101 views

Caps Lock behavior under Sway / Wayland

Under X, I can make Caps Lock behave as Esc when pressed briefly, but as Ctrl when held down with: setxkbmap -option 'caps:ctrl_modifier' xcape -e 'Caps_Lock=Escape' -t 100 How can I replicate this ...
0
votes
0answers
324 views

Setting default GDM session

I'm running Arch with Gnome3 and GDM 3.30.2. I'm in the process of switching to Sway, and am running into some configuration headaches: Sway sometimes fails to appear in the GDM session list. How to ...
0
votes
0answers
41 views

Is it possible to add colored lines under or over the swaybar?

I'm looking at improving the looks of my future Sway setup and I'd like to add colored lines under each block in the Swaybar because I want to make the bar transparent. However, I only really see ...
0
votes
0answers
103 views

Tensorflow with Nvidia GPU acceleration on wayland

I am a data science student and arch+i3 user waiting for sway to come for a long time. I have just ordered a new laptop (Dell XPS 15 with Nvidia GPU) and I am making plans on my setup. I have read ...
4
votes
2answers
1k views

Simple swaybar example

I'd like to have a simple, calm status bar for Sway which I use with Arch Linux. The configurations I found so far, use a separate program like i3status but I'd like to keep it simple and use ...
1
vote
0answers
306 views

How to alter level 3 meaning of keys with XKB

I had a neat little hack to get German "Umlaute" on a US ANSI keyboard with XModap. When I hold Caps-Lock, I get Umlaute in the places where they are on a German keyboard. Here my .Xmodmap file ...
0
votes
0answers
44 views

Can I unbind a key when a certain window has focus in the sway window manager?

Can I pass some keys for a specific window? I could not find in Sway's man pages or the issues on Github. At the moment, I'm executing a script with bindsym XF86Forward exec sway-next (requires jq ...
1
vote
1answer
193 views

Get PID of focused window in wayland

Is there a method to get the PID of the currently focused window in wayland? I am using the sway window manager. Thank your for your help!
0
votes
1answer
540 views

How to configure libinput on alpine linux?

For test purposes I installed alpine on my laptop. (It contains pretty much only the minimal default packages and wayland/sway.) When I try to run sway everything looks fine, but mouse and keyboard ...
5
votes
2answers
3k views

Keyboard Layout with Sway on Fedora (Wayland)

I have recently installed Fedora 27 which I find quite nice, I like the Gnome Desktop, but for working I definitely prefer a tiling window manager. I would like to use Sway because I was using i3 ...
2
votes
1answer
3k views

How to configure gdm for login into a sway session?

I have installed sway window manager on Fedora 27. The system uses gdm as its login manager. But gdm does not provide sway for selection as the login session. Only Gnome, which is also installed on ...
2
votes
1answer
1k views

How do I change the mouse cursor icon for the Sway Wayland compositor?

Under i3 I could change the mouse cursor icon by editing ~/.Xresources, is it possible to change the mouse cursor icon for Sway?
5
votes
0answers
576 views

How to lock screen on lid closing using systemd?

I know that this has been asked around internet a lot of times. However, all of the solutions are different, assume a lot of knowledge of systemd's details and none of them seem to work for me anyway. ...
2
votes
1answer
636 views

Set custom refresh rate for Sway (Wayland)

I know it's possible to set a custom refresh rate and resolution using Xorg (xrander) configurations. But I do not know how to do the same in Wayland/Sway using Nouveau drivers on an Nvidia-GPU.
4
votes
0answers
1k views

Sway/Wayland does not activate my second monitor

I was previously using arch linux, lightdm, and sway (an i3 clone for wayland, basically). However, at the time lightdm would not launch sway for me, so I ended up switching to a tty (ctrl+alt+f#) and ...