skipper: back to xwayland

This commit is contained in:
Adithya 2024-09-24 22:59:03 +05:30
parent c75246839b
commit ad24cd82cd
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 7 additions and 1 deletions

View file

@ -18,7 +18,7 @@ let
};
in
{
home.pointerCursor = cursorTheme // { gtk.enable = true; size = 24; };
home.pointerCursor = cursorTheme // { gtk.enable = true; size = 24; x11.enable = true; };
gtk = {
enable = true;
theme = gtkTheme;

View file

@ -3,6 +3,11 @@
spawn-at-startup "@dbus_update_activation_env_cmd@" "--systemd" "--all"
spawn-at-startup "@systemctl_cmd@" "--user" "start" "niri-session.target"
spawn-at-startup "@xwayland_satellite_cmd@"
environment {
DISPLAY ":0"
}
input {
keyboard {

View file

@ -21,6 +21,7 @@
src = ./config.kdl;
dbus_update_activation_env_cmd = "${pkgs.dbus}/bin/dbus-update-activation-environment";
systemctl_cmd = "${pkgs.systemd}/bin/systemctl";
xwayland_satellite_cmd = "${lib.getExe pkgs.xwayland-satellite}";
loginctl_cmd = "${pkgs.systemd}/bin/loginctl";
wpaperctl_cmd = "${pkgs.wpaperd}/bin/wpaperctl";
kitty_cmd = "${lib.getExe pkgs.kitty}";