feat(hyprland): add home-manager configuration for hyprland
This commit is contained in:
parent
8ff864caed
commit
7cf01bb2d5
2 changed files with 18 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./programs/git.nix
|
./programs/git.nix
|
||||||
|
./programs/hyprland.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|
17
homes/x86_64-linux/rafiq/programs/hyprland.nix
Normal file
17
homes/x86_64-linux/rafiq/programs/hyprland.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{config, lib, osConfig, ...}:
|
||||||
|
{
|
||||||
|
xdg.configFile."uwsm/env".text = # sh
|
||||||
|
''
|
||||||
|
|
||||||
|
'';
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
systemd.enable = false;
|
||||||
|
settings = {
|
||||||
|
"$hypr" = "CTRL_SUPER_ALT_SHIFT";
|
||||||
|
bind = [
|
||||||
|
"$hypr, Q, exec, uwsm stop"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue