summaryrefslogtreecommitdiff
path: root/home-manager/compositor
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2024-11-15 09:29:15 +0100
committerJasper Ras <jras@hostnet.nl>2024-11-15 09:29:55 +0100
commit963a6fc9d4cd39b63848a7988fd0f229757cd623 (patch)
tree5d1000efc37f636542432caf5c509ff434504283 /home-manager/compositor
parentfbfda3383111d76dfbf6e1afb96811920f6120a5 (diff)
Waybar: multiple outputs. Hyprland: mod+x bindings
Diffstat (limited to 'home-manager/compositor')
-rw-r--r--home-manager/compositor/hyprland.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/home-manager/compositor/hyprland.nix b/home-manager/compositor/hyprland.nix
index 3c9eecb..7581ace 100644
--- a/home-manager/compositor/hyprland.nix
+++ b/home-manager/compositor/hyprland.nix
@@ -1,4 +1,4 @@
-{ pkgs, config, primary-monitor, ... }:
+{ pkgs, config, monitor-names, ... }:
let
pics = "${config.home.homeDirectory}/Pictures";
mac-color-4k = "${pics}/mac-color-4k.jpg";
@@ -74,6 +74,8 @@ in
"$mod, F, fullscreen, 1"
"$mod, Return, exec, alacritty"
"$mod SHIFT, Q, killactive"
+ "$mod, X, movecurrentworkspacetomonitor, mon:+1"
+ "$mod SHIFT, X, movewindow, mon:+1"
"$mod, h, movefocus, l"
"$mod, j, movefocus, d"
"$mod, k, movefocus, u"
@@ -100,7 +102,7 @@ in
mainBar = {
layer = "top";
position = "bottom";
- output = ["${primary-monitor}"];
+ output = monitor-names;
modules-left = [
"hyprland/workspaces"
];