waaa
This commit is contained in:
parent
46c552076e
commit
d00f06890e
3 changed files with 6 additions and 8 deletions
|
|
@ -82,14 +82,12 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
preferXdgDirectories = true;
|
preferXdgDirectories = true;
|
||||||
sessionVariables = lib.mkMerge [
|
sessionVariables =
|
||||||
{
|
{
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
TERM = "kitty";
|
TERM = "kitty";
|
||||||
}
|
}
|
||||||
lib.mkIf
|
// lib.mkIf enableGraphical {
|
||||||
enableGraphical
|
|
||||||
{
|
|
||||||
DISPLAY = ":0";
|
DISPLAY = ":0";
|
||||||
GDK_BACKEND = "wayland,x11";
|
GDK_BACKEND = "wayland,x11";
|
||||||
QT_QPA_PLATFORM = "wayland;xcb";
|
QT_QPA_PLATFORM = "wayland;xcb";
|
||||||
|
|
@ -98,8 +96,7 @@ in
|
||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
XDG_SESSION_DESKTOP = "niri";
|
XDG_SESSION_DESKTOP = "niri";
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
}
|
};
|
||||||
];
|
|
||||||
stateVersion = "23.11"; # Do not change :3
|
stateVersion = "23.11"; # Do not change :3
|
||||||
username = me.nickname;
|
username = me.nickname;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ let
|
||||||
name,
|
name,
|
||||||
horizontal-resolution,
|
horizontal-resolution,
|
||||||
vertical-resolution,
|
vertical-resolution,
|
||||||
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
display-shader = pkgs.substituteAll {
|
display-shader = pkgs.substituteAll {
|
||||||
|
|
@ -38,10 +39,10 @@ let
|
||||||
init-shader
|
init-shader
|
||||||
state-shader
|
state-shader
|
||||||
display-shader
|
display-shader
|
||||||
name
|
|
||||||
tps
|
tps
|
||||||
cycles
|
cycles
|
||||||
;
|
;
|
||||||
|
display = name;
|
||||||
horizontal = builtins.div horizontal-resolution horizontal-dot-size;
|
horizontal = builtins.div horizontal-resolution horizontal-dot-size;
|
||||||
vertical = builtins.div vertical-resolution vertical-dot-size;
|
vertical = builtins.div vertical-resolution vertical-dot-size;
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@ layout {
|
||||||
// spawn-at-startup "alacritty" "-e" "fish"
|
// spawn-at-startup "alacritty" "-e" "fish"
|
||||||
@wallpapers@
|
@wallpapers@
|
||||||
|
|
||||||
@extra@
|
@autostart@
|
||||||
|
|
||||||
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
||||||
// If the client will specifically ask for CSD, the request will be honored.
|
// If the client will specifically ask for CSD, the request will be honored.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue