From 963a6fc9d4cd39b63848a7988fd0f229757cd623 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Fri, 15 Nov 2024 09:29:15 +0100 Subject: Waybar: multiple outputs. Hyprland: mod+x bindings --- home-manager/compositor/hyprland.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'home-manager/compositor/hyprland.nix') 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" ]; -- cgit v1.2.3