3.9 KiB
Play with Swaywm and Nixos
Solution
VirtualBox
cursor
WLR_NO_HARDWARE_CURSORS=1
egl error
enable 3D acceleration in VirtualBox
unable to drop root
donot run under root
in normal user, libseat permission deniened
add user in video
group
login as user, not root
iBus
reddit: ibus on swaywm
so I use emacs pyim
Authorization required, but no authorization protocol specified
sudo -E
lxpolkit(directly execute) or polkit-gnome(prettier, at /usr/libexec/polkit-gnome-authentication-agent-1)
pkexec
cannot start sway on lightdm
yes, still not stable, and it can't remenber which DE you used last time
so use gdm is a better choice?
SDDM is fantastic! It is themeable,
I'm using elarun
, a oxygen-like smooth crystal theme, materia-kde is also a good choice
Fedora 37 don't work
sddm don't work on fedora37, so switch to gdm
environment variable missing?
trick: add Exec=oksh -lc sway
in /usr/share/wayland-sessions/sway.desktop
ksh yes
obs
don't remove the include
line in sway/config, and it will be fine
cursor theme not working
from this issue
add seat seat0 xcursor_theme Oxygen_White
in sway config file
touchpad gesture like gnome
emacs tool-bar not working and icon theme missing
pgtk
Option –create on workspace prev_on_output|next_on_output?
this feature is not compatible with i3, so sway didn't accept the pr
grim + slurp screenshot pause the screen
swappy is probably an idea I odn't want to make it too complicated, just shot the whole screen and edit with GIMP later
Ref
Configs
https://github.com/ziap/dotfiles
a great config
Ruixi-rebirth's dotfiles
sway, very beautiful, from COSSIG
a Paid config
this is excellent, but…not for me, I'd like something simpler
夜 - Yoru
awesome config!