From f66b14514f8a66612365e350f0752f008905a5bc Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Fri, 5 Jan 2024 09:30:41 +0100 Subject: [PATCH] hypr: reorder general config --- de/hypr/hyprland.conf | 47 +++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 31 deletions(-) diff --git a/de/hypr/hyprland.conf b/de/hypr/hyprland.conf index 247712a..4fcfdef 100644 --- a/de/hypr/hyprland.conf +++ b/de/hypr/hyprland.conf @@ -1,18 +1,23 @@ - -######################################################################################## -AUTOGENERATED HYPR CONFIG. -PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, -OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. -######################################################################################## - -# -# Please note not all available settings / options are set here. -# For a full list, see the wiki -# +# Modular sourcing +$confDir = ~/.config/hypr/hyprland.conf.d +# Load plugins first +source = $confDir/plugins.conf # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,1 +general { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + + gaps_in = 5 + gaps_out = 20 + border_size = 2 + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg + col.inactive_border = rgba(595959aa) + + layout = hy3 +} + # unscale XWayland xwayland { force_zero_scaling = true @@ -20,12 +25,6 @@ xwayland { # See https://wiki.hyprland.org/Configuring/Keywords/ for more -# Execute your favorite apps at launch -# exec-once = waybar & hyprpaper & firefox - -# Source a file (multi-file configs) -# source = ~/.config/hypr/myColors.conf - # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = fr @@ -43,18 +42,6 @@ input { sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } -general { - # See https://wiki.hyprland.org/Configuring/Variables/ for more - - gaps_in = 5 - gaps_out = 20 - border_size = 2 - col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg - col.inactive_border = rgba(595959aa) - - layout = hy3 -} - decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more @@ -125,8 +112,6 @@ device:epic-mouse-v1 { $terminal = alacritty # Modular sourcing -$confDir = ~/.config/hypr/hyprland.conf.d -source = $confDir/plugins.conf source = $confDir/environment.conf source = $confDir/bindings.conf source = $confDir/windowrules.conf