1
0
forked from extern/nix-config

Merge X stuff with hyprland

I would love to commit to hyprland and not use any other Wayland
compositor (at least until something better comes up). For this reason,
this commit assumes that X-specific settings are exclusive to hyprland.
This commit is contained in:
Donovan Glover 2023-05-25 11:13:38 -04:00
parent b4a099214c
commit 013826c3d6
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
5 changed files with 23 additions and 32 deletions

View File

@ -15,10 +15,7 @@
./swaylock
./udiskie
./waybar
./xcursor
./xdg-user-dirs
./xresources
./xserver
];
environment.systemPackages = with pkgs; [

View File

@ -1,6 +1,14 @@
{ pkgs, ... }:
{
programs.hyprland.enable = true;
services.xserver = {
enable = true;
displayManager.lightdm.enable = false;
excludePackages = [ pkgs.xterm ];
};
home-manager.sharedModules = [{
xdg.configFile."hypr/hyprland.conf".text = ''
env=XCURSOR_SIZE,24
@ -188,5 +196,20 @@
'';
xdg.configFile."hypr/swapmaster.sh".source = ./swapmaster.sh;
xdg.configFile."hypr/tags.sh".source = ./tags.sh;
home.file.".icons/default/index.theme".text = ''
[icon theme]
Inherits=phinger-cursors
'';
xresources.properties = {
"Xft.hinting" = true;
"Xft.antialias" = true;
"Xft.autohint" = false;
"Xft.lcdfilter" = "lcddefault";
"Xft.hintstyle" = "hintfull";
"Xft.rgba" = "rgb";
};
}];
}

View File

@ -1,8 +0,0 @@
{
home-manager.sharedModules = [{
home.file.".icons/default/index.theme".text = ''
[icon theme]
Inherits=phinger-cursors
'';
}];
}

View File

@ -1,12 +0,0 @@
{
home-manager.sharedModules = [{
xresources.properties = {
"Xft.hinting" = true;
"Xft.antialias" = true;
"Xft.autohint" = false;
"Xft.lcdfilter" = "lcddefault";
"Xft.hintstyle" = "hintfull";
"Xft.rgba" = "rgb";
};
}];
}

View File

@ -1,9 +0,0 @@
{ pkgs, ... }:
{
services.xserver = {
enable = true;
displayManager.lightdm.enable = false;
excludePackages = [ pkgs.xterm ];
};
}