zenix: update, add gamescope session

This commit is contained in:
tristan 2024-11-20 21:17:36 +00:00
parent 53f5a52ceb
commit 5f36a77c4a
5 changed files with 103 additions and 115 deletions

View file

@ -52,7 +52,7 @@ in {
programs.hyprlock = {
enable = true;
settings = {
settings = lib.mkForce {
# https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/
general = {
hide_cursor = true;
@ -88,8 +88,9 @@ in {
enable = true;
systemd = {
enable = true;
variables = ["--all"];
# variables = ["--all"];
};
xwayland.enable = true;
settings = {
input = {
touchpad = {
@ -105,7 +106,6 @@ in {
};
decoration = {
rounding = 0;
drop_shadow = false;
};
bezier = [
"overshot, 0.05, 0.9, 0.1, 1.1"
@ -183,17 +183,14 @@ in {
"${modifier}, mouse:272, movewindow"
"${modifier}, mouse:273, resizewindow"
];
env = [
"GDK_BACKEND,wayland,x11"
"QT_QPA_PLATFORM,wayland;xcb"
"SDL_VIDEODRIVER,wayland"
"CLUTTER_BACKEND,wayland"
"XDG_CURRENT_DESKTOP,Hyprland"
"XDG_SESSION_TYPE,wayland"
"XDG_SESSION_DESKTOP,Hyprland"
"QT_AUTO_SCREEN_SCALE_FACTOR,1"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
];
# env = [
# "GDK_BACKEND,wayland,x11"
# "QT_QPA_PLATFORM,wayland;xcb"
# "CLUTTER_BACKEND,wayland"
# "XDG_SESSION_TYPE,wayland"
# "QT_AUTO_SCREEN_SCALE_FACTOR,1"
# "QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
# ];
windowrule = [
"float, title:wlogout"
"idleinhibit always, vrmonitor"