From 89be2cd52cb93608a5c24e1d19e8b41783f185e1 Mon Sep 17 00:00:00 2001 From: joshuaelm Date: Tue, 6 May 2025 22:53:14 -0500 Subject: [PATCH] qwdhjqiowdqiowjd --- configuration.nix | 12 ++++++++++++ modules/hypr/screenOFF | 9 +++++++++ modules/hypr/screenON | 12 ++++++++++++ 3 files changed, 33 insertions(+) create mode 100755 modules/hypr/screenOFF create mode 100755 modules/hypr/screenON diff --git a/configuration.nix b/configuration.nix index 32177ef..e04470e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -234,6 +234,18 @@ hardware.pulseaudio.extraConfig = '' }; + fileSystems."/mnt/More-Games" = { + device = "/dev/sda1"; + fsType = "btrfs"; + options = [ + "users" + "nofail" + "x-gvfs-show" + "exec" + ]; + }; + + diff --git a/modules/hypr/screenOFF b/modules/hypr/screenOFF new file mode 100755 index 0000000..c8d4ae0 --- /dev/null +++ b/modules/hypr/screenOFF @@ -0,0 +1,9 @@ + +# Your main monitor (change this) +MONITOR="DP-1" + +# Create headless virtual display +hyprctl output create headless + +# Disable the monitor +hyprctl keyword monitor $MONITOR,disable diff --git a/modules/hypr/screenON b/modules/hypr/screenON new file mode 100755 index 0000000..71051c3 --- /dev/null +++ b/modules/hypr/screenON @@ -0,0 +1,12 @@ + +# Your main monitor (change this) +MONITOR="DP-1" + +# Turn monitor back on (you may want to change these options) +hyprctl keyword monitor $MONITOR,highrr,auto,1 + +# Get name of headless display +HEADLESS=$(hyprctl -j monitors | jq -r '.[] | select(.name | test("HEADLESS-"; "i")).name') + +# Remove headless virtual display +hyprctl output remove "$HEADLESS"