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;
|
||||
sessionVariables = lib.mkMerge [
|
||||
sessionVariables =
|
||||
{
|
||||
EDITOR = "nvim";
|
||||
TERM = "kitty";
|
||||
}
|
||||
lib.mkIf
|
||||
enableGraphical
|
||||
{
|
||||
// lib.mkIf enableGraphical {
|
||||
DISPLAY = ":0";
|
||||
GDK_BACKEND = "wayland,x11";
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
|
|
@ -98,8 +96,7 @@ in
|
|||
XDG_SESSION_TYPE = "wayland";
|
||||
XDG_SESSION_DESKTOP = "niri";
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
}
|
||||
];
|
||||
};
|
||||
stateVersion = "23.11"; # Do not change :3
|
||||
username = me.nickname;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ let
|
|||
name,
|
||||
horizontal-resolution,
|
||||
vertical-resolution,
|
||||
...
|
||||
}:
|
||||
let
|
||||
display-shader = pkgs.substituteAll {
|
||||
|
|
@ -38,10 +39,10 @@ let
|
|||
init-shader
|
||||
state-shader
|
||||
display-shader
|
||||
name
|
||||
tps
|
||||
cycles
|
||||
;
|
||||
display = name;
|
||||
horizontal = builtins.div horizontal-resolution horizontal-dot-size;
|
||||
vertical = builtins.div vertical-resolution vertical-dot-size;
|
||||
})
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ layout {
|
|||
// spawn-at-startup "alacritty" "-e" "fish"
|
||||
@wallpapers@
|
||||
|
||||
@extra@
|
||||
@autostart@
|
||||
|
||||
// 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue