Move to Xonsh, add hypr scripts

This commit is contained in:
JuliaLange 2024-01-20 14:03:54 -08:00
parent 7f324958a5
commit ce9124c7ed
13 changed files with 224 additions and 48 deletions

View file

@ -1,14 +1,21 @@
{ config, pkgs, ... }:
let rootPath = ./.; in
{
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.extraConfig = ''
${builtins.readFile ./default.conf}
${builtins.readFile ./keybinds.conf}
'';
# wayland.windowManager.hyprland.enableNvidiaPatches = true;
home.packages = with pkgs; [
socat # For hyprland scripts
swww # Wallpaper engine
wlr-randr # Xrandr for wayland
xdg-desktop-portal-hyprland # XDP for hyprland
];
xdg.configFile."hypr-scripts" = {
source = rootPath + "/scripts";
target = "hypr/scripts";
executable = true;
};
}