From cb3e33b5dcdf05ec58c7f2b8a52fa098effa12f5 Mon Sep 17 00:00:00 2001 From: Samuel O'Neal Date: Fri, 8 May 2026 23:27:24 -0600 Subject: [PATCH] using nwg-displays for monitor management; updated cloudflared service --- hyprland/.config/hypr/monitors.conf | 4 ++-- systemd/.config/systemd/user/cloudflared-k8s.service | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hyprland/.config/hypr/monitors.conf b/hyprland/.config/hypr/monitors.conf index d7102c0..c22730b 100644 --- a/hyprland/.config/hypr/monitors.conf +++ b/hyprland/.config/hypr/monitors.conf @@ -1,3 +1,3 @@ -monitor = desc:BOE 0x0BC9, preferred, auto-center-left, 1.33 # Main laptop display -monitor = desc:Viewteck Co. Ltd. GNV34DB, 3440x1440@50, auto-center-right, auto # Ultra-wide Monitor +# Generated by nwg-displays on 2026-05-08 at 23:25:33. Do not edit manually. +monitor=desc:BOE 0x0BC9,2560x1600@165.0,0x0,1.25 diff --git a/systemd/.config/systemd/user/cloudflared-k8s.service b/systemd/.config/systemd/user/cloudflared-k8s.service index b5f8c5a..0d1931b 100644 --- a/systemd/.config/systemd/user/cloudflared-k8s.service +++ b/systemd/.config/systemd/user/cloudflared-k8s.service @@ -5,7 +5,8 @@ [Unit] Description=Cloudflare Tunnel to K8s API -After=network-online.target +After=network-online.target graphical-session.target +BindsTo=graphical-session.target Wants=network-online.target systemd-networkd-wait-online.service StartLimitIntervalSec=500 @@ -13,7 +14,7 @@ StartLimitBurst=5 [Service] PassEnvironment=DISPLAY WAYLAND_DISPLAY DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR -ExecStart=/usr/bin/cloudflared access tcp --hostname k8s.samoneal.io --url localhost:6443 +ExecStart=uwsm app -- /usr/bin/cloudflared access tcp --hostname k8s.samoneal.io --url localhost:6443 Restart=on-failure RestartSec=60