Added HyprDynamicMonitors
This commit is contained in:
@@ -5,5 +5,6 @@
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
./keybinds.nix
|
||||
./monitors.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
@@ -14,10 +15,14 @@
|
||||
portalPackage = null;
|
||||
|
||||
settings = {
|
||||
monitor = [
|
||||
"eDP-1, 2256x1504@60, 0x0, 1"
|
||||
source = [
|
||||
"${config.xdg.configHome}/hypr/monitors.conf"
|
||||
];
|
||||
|
||||
# monitor = [
|
||||
# "eDP-1, 2256x1504@60, 0x0, 1"
|
||||
# ];
|
||||
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
|
||||
|
||||
19
modules/home/hypr/monitors.nix
Normal file
19
modules/home/hypr/monitors.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.hyprdynamicmonitors.homeManagerModules.default
|
||||
];
|
||||
|
||||
home.packages = [
|
||||
inputs.hyprdynamicmonitors.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
];
|
||||
|
||||
home.hyprdynamicmonitors = {
|
||||
enable = true;
|
||||
installExamples = false;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user