Renewed binds + wofi
This commit is contained in:
+333
-316
File diff suppressed because it is too large
Load Diff
+27
-10
@@ -546,7 +546,19 @@ This is top file of this level which contains just an import statement for all r
|
||||
** =generated/hyprland/hyprland.nix=
|
||||
The ./generated/top.nix file acts as an anchor or entry point for the entire chain of imports in the pyramid structure.
|
||||
#+BEGIN_SRC nix :tangle generated/hyprland/hyprland.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
user,
|
||||
inputs,
|
||||
flakeRoot,
|
||||
...
|
||||
}:
|
||||
let
|
||||
hyprlandConf = builtins.readFile (flakeRoot + "/assets/hyprland/conf/hyprland.conf");
|
||||
userConfig = import (flakeRoot + "/assets/flake/users/henrov.nix");
|
||||
in
|
||||
{
|
||||
# Nix settings to use Hyprland's cache for packages
|
||||
nix.settings = {
|
||||
@@ -563,10 +575,10 @@ The ./generated/top.nix file acts as an anchor or entry point for the entire cha
|
||||
|
||||
# Hyprland-specific Home Manager configurations
|
||||
home-manager.users.${user.username} = {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
settings = { };
|
||||
};
|
||||
home.stateVersion = userConfig.stateVersion;
|
||||
home.username = userConfig.username;
|
||||
home.homeDirectory = userConfig.homeDirectory;
|
||||
xdg.configFile."hypr/hyprland.conf".text = hyprlandConf;
|
||||
};
|
||||
}
|
||||
#+END_SRC
|
||||
@@ -741,21 +753,26 @@ This is top file of this level which contains just an import statement for all r
|
||||
** =generated/hyprland/keyboard_binds/top.nix=
|
||||
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
|
||||
#+BEGIN_SRC nix :tangle generated/hyprland/keyboard_binds/top.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
user,
|
||||
inputs,
|
||||
flakeRoot,
|
||||
...
|
||||
}:
|
||||
let
|
||||
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
|
||||
configFile = pkgs.writeText "hyprland.conf" bindingsContent;
|
||||
in
|
||||
{
|
||||
# Home Manager configurations must be nested under the user
|
||||
home-manager.users.${user.username} = {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
config = configFile;
|
||||
extraConfig = bindingsContent;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
#+END_SRC
|
||||
|
||||
** =generated/hyprland/notifications/top.nix=
|
||||
|
||||
Reference in New Issue
Block a user