From 764652d8262ff62e37b758b5e0154b423a0a0b80 Mon Sep 17 00:00:00 2001 From: thomas Date: Sat, 5 Sep 2026 21:55:16 +0100 Subject: [PATCH] Feature: Added new window for steam big picture --- dotfiles/.config/hypr/core/startup.lua | 8 +++++++- dotfiles/.config/hypr/layout/monitors.lua | 1 + dotfiles/.config/hypr/layout/workspaces.lua | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dotfiles/.config/hypr/core/startup.lua b/dotfiles/.config/hypr/core/startup.lua index 0ad8024..30717d6 100644 --- a/dotfiles/.config/hypr/core/startup.lua +++ b/dotfiles/.config/hypr/core/startup.lua @@ -14,6 +14,9 @@ hl.on("hyprland.start", function() hl.exec_cmd("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP") hl.exec_cmd("systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP") + -- Sunshine + hl.exec_cmd("sleep 1 && hyprctl output create headless") + -- Polkit (Polkit Gnome / KDE) hl.exec_cmd(scriptsDir .. "/Polkit.sh") @@ -31,7 +34,10 @@ hl.on("hyprland.start", function() hl.exec_cmd("wl-paste --type image --watch cliphist store") -- Starting hypridle to start hyprlock - hl.exec_cmd("hypridle") + -- hl.exec_cmd("hypridle") + + -- Sunshine for streaming media + h1.exec_cmd("sunshine") -- Float + center the Bitwarden extension pop-out (window rules can't catch it — see the script) hl.exec_cmd(scriptsDir .. "/FloatBitwardenPopup.sh") diff --git a/dotfiles/.config/hypr/layout/monitors.lua b/dotfiles/.config/hypr/layout/monitors.lua index f8212a1..87e7d66 100644 --- a/dotfiles/.config/hypr/layout/monitors.lua +++ b/dotfiles/.config/hypr/layout/monitors.lua @@ -11,4 +11,5 @@ hl.monitor({ output = "desc:LG Electronics LG ULTRAWIDE 0x0002E68A", mode = "2560x1080@60.00000", position = "1920x-740", scale = 1.00000000, transform = 3, vrr = 0 }) hl.monitor({ output = "desc:HP Inc. HP 524pf VNG447017D", mode = "1920x1080@100.00000", position = "-1920x0", scale = 1.00000000, transform = 0, vrr = 0 }) hl.monitor({ output = "desc:Acer Technologies VG240Y S 0x126191DE", mode = "1920x1080@165.00301", position = "0x0", scale = 1.00000000, transform = 0, vrr = 1, bitdepth = 10, cm = "wide" }) +hl.monitor({ output = "HEADLESS-1", mode = "1728x1080@60.00000", position = "4480x0", scale = 1.00000000, transform = 0, vrr = 0 }) -- <<<<< TUI AUTO END diff --git a/dotfiles/.config/hypr/layout/workspaces.lua b/dotfiles/.config/hypr/layout/workspaces.lua index 6d05c9b..414d8cd 100644 --- a/dotfiles/.config/hypr/layout/workspaces.lua +++ b/dotfiles/.config/hypr/layout/workspaces.lua @@ -13,6 +13,7 @@ hl.workspace_rule({ workspace = 1, monitor = "DP-2", default = true }) hl.workspace_rule({ workspace = 2, monitor = "DP-1", default = true }) hl.workspace_rule({ workspace = 3, monitor = "HDMI-A-1", default = true }) +hl.workspace_rule({ workspace = 9, monitor = "HEADLESS-1", default = true }) -- hl.workspace_rule({ workspace = 4, monitor = "eDP-1" }) -- hl.workspace_rule({ workspace = 5, monitor = "DP-2" }) -- hl.workspace_rule({ workspace = 6, monitor = "DP-2" })