From 9abcb91f0b284a91b480501554bf4f8b5db1928b Mon Sep 17 00:00:00 2001 From: Michel Fedde Date: Wed, 12 Feb 2025 17:22:27 +0100 Subject: [PATCH] Adds custom files for laptop --- .config/hypr/config/Monitors.conf | 1 + .config/hypr/config/Monitors.conf##class.Laptop | 14 ++++++++++++++ .config/hypr/config/WorkspaceRules.conf | 17 +---------------- .../config/WorkspaceRules.conf##class.Laptop | 0 .../hypr/config/WorkspaceRules.conf##class.PC | 16 ++++++++++++++++ 5 files changed, 32 insertions(+), 16 deletions(-) create mode 120000 .config/hypr/config/Monitors.conf create mode 100644 .config/hypr/config/Monitors.conf##class.Laptop mode change 100644 => 120000 .config/hypr/config/WorkspaceRules.conf create mode 100644 .config/hypr/config/WorkspaceRules.conf##class.Laptop create mode 100644 .config/hypr/config/WorkspaceRules.conf##class.PC diff --git a/.config/hypr/config/Monitors.conf b/.config/hypr/config/Monitors.conf new file mode 120000 index 0000000..9f9f291 --- /dev/null +++ b/.config/hypr/config/Monitors.conf @@ -0,0 +1 @@ +Monitors.conf##class.Laptop \ No newline at end of file diff --git a/.config/hypr/config/Monitors.conf##class.Laptop b/.config/hypr/config/Monitors.conf##class.Laptop new file mode 100644 index 0000000..08e5c2b --- /dev/null +++ b/.config/hypr/config/Monitors.conf##class.Laptop @@ -0,0 +1,14 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # + +# Monitor Configuration +# See Hyprland wiki for more details +# https://wiki.hyprland.org/Configuring/Monitors/ +# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info. + +$primary=eDP-1 +$secondary=DP-2 + +monitor=$primary, preferred, 0x0, 1 +monitor=$secondary, preferred, auto-left, 1 + +exec=xrandr --output $primary --primary diff --git a/.config/hypr/config/WorkspaceRules.conf b/.config/hypr/config/WorkspaceRules.conf deleted file mode 100644 index a660d51..0000000 --- a/.config/hypr/config/WorkspaceRules.conf +++ /dev/null @@ -1,16 +0,0 @@ -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # - -# You can set workspace rules to achieve workspace-specific behaviors. -# For instance, you can define a workspace where all windows are drawn without borders or gaps. - -# https://wiki.hyprland.org/Configuring/Workspace-Rules/ - -$primary=DP-4 -$secondary=DP-2 - -workspace = 1, name:Browser, monitor:$secondary, default:true -workspace = 2, name:Terminal, monitor:$primary, default:true -workspace = 3, name:Discord,monitor:$secondary, default:true -workspace = 4, name:Gaming, monitor:$primary, default:true -workspace = 5, name:Music - diff --git a/.config/hypr/config/WorkspaceRules.conf b/.config/hypr/config/WorkspaceRules.conf new file mode 120000 index 0000000..621e50b --- /dev/null +++ b/.config/hypr/config/WorkspaceRules.conf @@ -0,0 +1 @@ +WorkspaceRules.conf##class.Laptop \ No newline at end of file diff --git a/.config/hypr/config/WorkspaceRules.conf##class.Laptop b/.config/hypr/config/WorkspaceRules.conf##class.Laptop new file mode 100644 index 0000000..e69de29 diff --git a/.config/hypr/config/WorkspaceRules.conf##class.PC b/.config/hypr/config/WorkspaceRules.conf##class.PC new file mode 100644 index 0000000..a660d51 --- /dev/null +++ b/.config/hypr/config/WorkspaceRules.conf##class.PC @@ -0,0 +1,16 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # + +# You can set workspace rules to achieve workspace-specific behaviors. +# For instance, you can define a workspace where all windows are drawn without borders or gaps. + +# https://wiki.hyprland.org/Configuring/Workspace-Rules/ + +$primary=DP-4 +$secondary=DP-2 + +workspace = 1, name:Browser, monitor:$secondary, default:true +workspace = 2, name:Terminal, monitor:$primary, default:true +workspace = 3, name:Discord,monitor:$secondary, default:true +workspace = 4, name:Gaming, monitor:$primary, default:true +workspace = 5, name:Music +