zenix: update, add gamescope session
This commit is contained in:
parent
53f5a52ceb
commit
5f36a77c4a
5 changed files with 103 additions and 115 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -274,11 +274,13 @@ in {
|
|||
text = ''
|
||||
res=$(echo "lock
|
||||
sleep
|
||||
hibernate" | ${my-deps.menu})
|
||||
hibernate
|
||||
logout" | ${my-deps.menu})
|
||||
case $res in
|
||||
lock) ${my-deps.lock};;
|
||||
sleep) systemctl suspend;;
|
||||
hibernate) systemctl hibernate;;
|
||||
logout) hyprctl dispatch exit;;
|
||||
esac
|
||||
'';
|
||||
hotkeys = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue