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.

5
votes
1answer
619 views

How to lock screen on lid closing using systemd?

I am running Sway on Fedora 26 and want my laptop to be locked when I close my screen. I changed HandleLidSwitch to lock in /etc/systemd/logind.conf and ran systemctl restart systemd-logind after that....
4
votes
3answers
2k 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 ...
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?
0
votes
0answers
139 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 ...
2
votes
1answer
661 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.
1
vote
1answer
222 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
0answers
367 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
46 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
111 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 ...
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 ...
3
votes
1answer
4k 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 ...
1
vote
0answers
323 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
1answer
594 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 ...
3
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 ...