From 5a12b024634c92029e55ddfd2c2b62415f45895a Mon Sep 17 00:00:00 2001 From: scbj Date: Thu, 17 Jul 2025 16:56:33 +0200 Subject: [PATCH] (hypr) changed file structure, `hyprlock` show input field only on main display --- hypr-monitors-home/.config/hypr/monitors.conf | 4 ++-- hypr-monitors-home/.config/hypr/outputs.conf | 3 +++ hypr-monitors-work/.config/hypr/hyprpaper.conf | 4 ---- hypr-monitors-work/.config/hypr/monitors.conf | 3 +-- hypr-monitors-work/.config/hypr/outputs.conf | 3 +++ hypr/.config/hypr/hyprlock.conf | 3 +++ {hypr-monitors-home => hypr}/.config/hypr/hyprpaper.conf | 0 7 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 hypr-monitors-home/.config/hypr/outputs.conf delete mode 100644 hypr-monitors-work/.config/hypr/hyprpaper.conf create mode 100644 hypr-monitors-work/.config/hypr/outputs.conf rename {hypr-monitors-home => hypr}/.config/hypr/hyprpaper.conf (100%) diff --git a/hypr-monitors-home/.config/hypr/monitors.conf b/hypr-monitors-home/.config/hypr/monitors.conf index a737561..5dba9bd 100644 --- a/hypr-monitors-home/.config/hypr/monitors.conf +++ b/hypr-monitors-home/.config/hypr/monitors.conf @@ -1,5 +1,5 @@ -$main_display = DP-2 -$secondary_display = DP-3 +source = ~/.config/hypr/outputs.conf monitor = $main_display, 1920x1080@144, 0x0, 1 monitor = $secondary_display, 1920x1080@60, 1920x0, 1 + diff --git a/hypr-monitors-home/.config/hypr/outputs.conf b/hypr-monitors-home/.config/hypr/outputs.conf new file mode 100644 index 0000000..1e2db70 --- /dev/null +++ b/hypr-monitors-home/.config/hypr/outputs.conf @@ -0,0 +1,3 @@ +$main_display = DP-2 +$secondary_display = DP-3 + diff --git a/hypr-monitors-work/.config/hypr/hyprpaper.conf b/hypr-monitors-work/.config/hypr/hyprpaper.conf deleted file mode 100644 index 06609d2..0000000 --- a/hypr-monitors-work/.config/hypr/hyprpaper.conf +++ /dev/null @@ -1,4 +0,0 @@ -$image = ~/dotfiles/images/dungeon_forest.jpg - -preload = $image -wallpaper = , $image diff --git a/hypr-monitors-work/.config/hypr/monitors.conf b/hypr-monitors-work/.config/hypr/monitors.conf index 9c1150a..9f55ae7 100644 --- a/hypr-monitors-work/.config/hypr/monitors.conf +++ b/hypr-monitors-work/.config/hypr/monitors.conf @@ -1,5 +1,4 @@ -$main_display = DP-7 -$secondary_display = DP-5 +source = ~/.config/hypr/outputs.conf monitor = $main_display, 2560x1440@60, 1440x620, 1 monitor = $secondary_display, 2560x1440@60, 0x0, 1, transform, 1 diff --git a/hypr-monitors-work/.config/hypr/outputs.conf b/hypr-monitors-work/.config/hypr/outputs.conf new file mode 100644 index 0000000..b974e36 --- /dev/null +++ b/hypr-monitors-work/.config/hypr/outputs.conf @@ -0,0 +1,3 @@ +$main_display = DP-7 +$secondary_display = DP-5 + diff --git a/hypr/.config/hypr/hyprlock.conf b/hypr/.config/hypr/hyprlock.conf index 152e6d0..f6c88cb 100644 --- a/hypr/.config/hypr/hyprlock.conf +++ b/hypr/.config/hypr/hyprlock.conf @@ -1,4 +1,6 @@ # hyprlock configuration +source = ~/.config/hypr/outputs.conf + general { hide_cursor = true ignore_empty_input = true @@ -11,6 +13,7 @@ background { } input-field { + monitor = $main_display size = 30%,8% outline_thickness = 3 dots_center = true diff --git a/hypr-monitors-home/.config/hypr/hyprpaper.conf b/hypr/.config/hypr/hyprpaper.conf similarity index 100% rename from hypr-monitors-home/.config/hypr/hyprpaper.conf rename to hypr/.config/hypr/hyprpaper.conf