summaryrefslogtreecommitdiff
path: root/home-manager/compositor/hyprland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/compositor/hyprland.nix')
-rw-r--r--home-manager/compositor/hyprland.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/home-manager/compositor/hyprland.nix b/home-manager/compositor/hyprland.nix
index 64957dd..bd6fdfd 100644
--- a/home-manager/compositor/hyprland.nix
+++ b/home-manager/compositor/hyprland.nix
@@ -1,4 +1,4 @@
-{ pkgs, config, ... }:
+{ pkgs, config, primary-monitor, ... }:
let
pics = "${config.home.homeDirectory}/Pictures";
mac-color-4k = "${pics}/mac-color-4k.jpg";
@@ -95,14 +95,13 @@ in
mainBar = {
layer = "top";
position = "bottom";
- output = [
- "HDMI-A-1"
- ];
+ output = ["${primary-monitor}"];
modules-left = [
"hyprland/workspaces"
];
modules-right = [
"clock"
+ "battery"
];
"hyprland/workspaces" = {