From 02129ea6f0026e19393014b9b630b42270317c52 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Wed, 6 Mar 2024 15:49:35 +0100 Subject: [PATCH] vnc try 2 --- common/hyprland-vnc.nix | 10 ++++------ common/hyprland.nix | 2 -- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/common/hyprland-vnc.nix b/common/hyprland-vnc.nix index e8fd437..8048ec6 100644 --- a/common/hyprland-vnc.nix +++ b/common/hyprland-vnc.nix @@ -4,7 +4,7 @@ # these are necessary for the config to function correctly imports = [ ./kitty.nix - ./waybar.nix + ./waybar-vnc.nix ./wofi.nix ]; home.packages = with pkgs; [ @@ -21,9 +21,8 @@ enable = true; settings = { monitor = [ - "DP-3,disable" - "DP-2,disable" - "HEADLESS-2,2256x1504,1920x1440,1" + "DP-3,2560x1440@144,0x0,1" + "HEADLESS-2,2256x1504,0x1440,1" ]; windowrulev2 = [ "opacity 1.0 0.6,class:^(kitty)$" @@ -54,8 +53,7 @@ inactive_opacity = "1"; }; workspace = [ - "DP-3,1" - "DP-2,2" + "HEADLESS-2,1" ]; animations = { enabled = "1"; diff --git a/common/hyprland.nix b/common/hyprland.nix index 49c5ec0..fdc18b4 100644 --- a/common/hyprland.nix +++ b/common/hyprland.nix @@ -23,7 +23,6 @@ monitor = [ "DP-3,2560x1440@144,1920x0,1" "DP-2,1920x1080@60,0x0,1" - "HEADLESS-2,2256x1504,1920x1440,1" ]; windowrulev2 = [ "opacity 1.0 0.6,class:^(kitty)$" @@ -34,7 +33,6 @@ ]; exec-once = [ "waybar" - "hyprctl output create headless && wayvnc 0.0.0.0 5909 && wayvncctl -w output-set HEADLESS-2" "dunst" "automapaper -C ${config.xdg.configHome}/automapaper/config.toml" "automapaper -C ${config.xdg.configHome}/automapaper/config2nd.toml"