Ver 1.0
This commit is contained in:
parent
b6b87d5aed
commit
9c72a71585
3546 changed files with 18655 additions and 0 deletions
32
nixosVista/homeManager/hyprland/variables.nix
Normal file
32
nixosVista/homeManager/hyprland/variables.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
nixosVista,
|
||||
...
|
||||
}: let
|
||||
cfg = nixosVista.hyprland;
|
||||
|
||||
############################################################
|
||||
# Generate $variables
|
||||
############################################################
|
||||
|
||||
variables =
|
||||
lib.mapAttrsToList
|
||||
(name: value: "\$${name} = ${value}")
|
||||
cfg.variables;
|
||||
in {
|
||||
config = lib.mkIf nixosVista.enable {
|
||||
nixosVista.hyprland.fragments.variables = ''
|
||||
|
||||
############################################################
|
||||
# Hyprland Variables
|
||||
############################################################
|
||||
# $terminal = kitty
|
||||
# $fileManager = caja
|
||||
# $menu = wofi --show drun
|
||||
|
||||
${lib.concatStringsSep "\n" variables}
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue