From 26f29d0137055a7ed8ab3cca5fdb92063c81515a Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Sun, 6 Oct 2024 21:15:25 +0200 Subject: [PATCH] hypr: update config for 0.44.0 --- .../hypr/fragments/hypr-workspacerules.conf | 4 ++- config/dot-config/hypr/hyprland.conf | 28 ++++++++++--------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/config/dot-config/hypr/fragments/hypr-workspacerules.conf b/config/dot-config/hypr/fragments/hypr-workspacerules.conf index 7a31e113..c90b5100 100644 --- a/config/dot-config/hypr/fragments/hypr-workspacerules.conf +++ b/config/dot-config/hypr/fragments/hypr-workspacerules.conf @@ -1,7 +1,9 @@ # workspace rules workspace = 1, on-created-empty: qutebrowser -workspace = 2, gapsout:160 +workspace = 2, gapsout:120 workspace = 2, gapsin:4 +workspace = 2, layoutopt:orientation:left +workspace = 2, mfact = .50 workspace = 4, on-created-empty:footclient -a ncmpcpp ncmpcpp workspace = 4, gapsout:200 workspace = 6, on-created-empty:[float] steam diff --git a/config/dot-config/hypr/hyprland.conf b/config/dot-config/hypr/hyprland.conf index 716126ec..162c4fcd 100644 --- a/config/dot-config/hypr/hyprland.conf +++ b/config/dot-config/hypr/hyprland.conf @@ -18,8 +18,7 @@ xwayland { } # See https://wiki.hyprland.org/Configuring/Keywords/ for more -# env = AMD_VULKAN_ICD,RADV -# env = VK_DRIVER_FILES,/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.x86_32.json +env = AMD_VULKAN_ICD,RADV env = WLR_RENDERER,vulkan env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland @@ -49,7 +48,7 @@ env = HYPRCURSOR_SIZE,30 # Execute your favorite apps at launch exec-once = hyprpm enable hyprbars exec-once = ~/.config/hypr/scripts/startup.sh -exec-once = hypridle +# exec-once = hypridle exec-once = foot -s exec-shutdown = pkill -f '/usr/lib/python-exec/python3.12/python /home/andy/.config/hypr/scripts/gammarelay-auto-temp.py' @@ -77,14 +76,14 @@ input { general { # See https://wiki.hyprland.org/Configuring/Variables/ for more border_size = 3 - gaps_in = 16 - gaps_out = 32 + gaps_in = 4 + gaps_out = 8 col.active_border = 0xff$base0C col.inactive_border = 0x33$base0C 0x44$base0C 135deg col.nogroup_border_active = 0xff$base08 col.nogroup_border = 0x33$base08 0x44$base08 135deg - layout = dwindle + layout = master # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = true @@ -93,18 +92,21 @@ general { dwindle { force_split = 2 smart_split = false - split_width_multiplier = 1.5 + split_width_multiplier = 1.0 } master { - mfact = 0.50 - new_status = inherit - orientation = left - always_center_master = false - allow_small_split = false + # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more + new_status = slave + always_center_master = true + allow_small_split = true + special_scale_factor = .80 + mfact = .45 + orientation = center + inherit_fullscreen = false + always_center_master = false } - decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 8 -- 2.51.2