feat: add uwsm
This commit is contained in:
parent
8d9697d309
commit
9894be9b65
3 changed files with 24 additions and 4 deletions
|
@ -73,6 +73,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
uwsm.enable = true;
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
|
|
|
@ -1 +1,10 @@
|
||||||
{ lib, config, ... }: lib.mkIf config.programs.hyprland.enable { }
|
{ lib, config, ... }:
|
||||||
|
lib.mkIf config.programs.hyprland.enable {
|
||||||
|
programs.uwsm = {
|
||||||
|
waylandCompositors.hyprland = {
|
||||||
|
prettyName = "Hyprland";
|
||||||
|
comment = "Hyprland compositor managed by UWSM";
|
||||||
|
binPath = "/run/current-system/sw/bin/Hyprland";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,17 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
lib.mkIf config.programs.sway.enable {
|
lib.mkIf config.programs.sway.enable {
|
||||||
programs.sway = {
|
|
||||||
|
programs = {
|
||||||
|
uwsm = {
|
||||||
|
waylandCompositors.sway = {
|
||||||
|
prettyName = "Sway";
|
||||||
|
comment = "Sway compositor managed by UWSM";
|
||||||
|
binPath = "/run/current-system/sw/bin/sway";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
sway = {
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
extraPackages = [ ];
|
extraPackages = [ ];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue