From c80e4353ca800e41662e504ee2d0a0b1f5a410e9 Mon Sep 17 00:00:00 2001 From: retrilzzy Date: Wed, 1 Jan 2025 20:36:43 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=B2=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D0=B0=D1=85=20hypr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Configs/hypr/hyprland.conf | 6 ++--- Configs/hypr/keybindings.conf | 4 ++-- Configs/hypr/plugins.conf | 43 +++++++++-------------------------- Configs/hypr/rules.conf | 4 ++-- 4 files changed, 18 insertions(+), 39 deletions(-) diff --git a/Configs/hypr/hyprland.conf b/Configs/hypr/hyprland.conf index 7a29595..07ae97a 100644 --- a/Configs/hypr/hyprland.conf +++ b/Configs/hypr/hyprland.conf @@ -14,7 +14,7 @@ source = ~/.config/hypr/rules.conf ### MONITORS ### ################ -# See https://wiki.hyprland.org/Configuring/Monitors/ +# https://wiki.hyprland.org/Configuring/Monitors/ monitor = eDP-1,1920x1080@60,0x0,1 ################# @@ -78,9 +78,9 @@ decoration { blur { enabled = true new_optimizations = true - size = 3 + size = 6 passes = 1 - brightness = 0.93 + brightness = 0.96 } } diff --git a/Configs/hypr/keybindings.conf b/Configs/hypr/keybindings.conf index 781d68b..ff94535 100644 --- a/Configs/hypr/keybindings.conf +++ b/Configs/hypr/keybindings.conf @@ -15,7 +15,7 @@ $browser = brave # https://wiki.hyprland.org/Configuring/Binds/ # https://wiki.hyprland.org/Configuring/Keywords/ -$mainMod = SUPER # Sets "Windows" key as main modifier +$mainMod = SUPER # Application shortcuts bind = $mainMod, W, exec, $terminal @@ -94,7 +94,7 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Overview (Plugin) -bind = $mainMod, TAB, overview:toggle, toggle +bind = $mainMod, TAB, hyprexpo:expo, toggle # Special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic diff --git a/Configs/hypr/plugins.conf b/Configs/hypr/plugins.conf index 4ef2a78..a634142 100644 --- a/Configs/hypr/plugins.conf +++ b/Configs/hypr/plugins.conf @@ -1,34 +1,13 @@ plugin { - overview { - # Color workspaces window - dragAlpha = 0.5 - panelColor = rgb(40, 40, 40) - workspaceActiveBorder = rgb(200, 200, 200) + hyprexpo { + columns = 3 + gap_size = 5 + bg_col = rgb(111111) + workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1 - # Layout - workspaceMargin = 15 - panelHeight = 180 - panelBorderWidth = 5 - workspaceBorderSize = 5 - hideBackgroundLayers = 0 - hideTopLayers = 0 - hideOverlayLayers = 0 - hideRealLayers = 1 - onBottom = 1 - overrideGaps = 1 - adaptiveHeight = 1 - centerAligned = 1 - - # Event - autoDrag = 1 - autoScroll = 0 - drawActiveWorkspace = 1 - showNewWorkspace = 1 - showEmptyWorkspace = 1 - showSpecialWorkspace = 0 - exitOnClick = 0 - - # Animation - overrideAnimSpeed = 8 - } -} \ No newline at end of file + enable_gesture = true # laptop touchpad + gesture_fingers = 3 # 3 or 4 + gesture_distance = 300 # how far is the "max" + gesture_positive = true # positive = swipe down. Negative = swipe up. + } +} diff --git a/Configs/hypr/rules.conf b/Configs/hypr/rules.conf index 3221e97..99a5a10 100644 --- a/Configs/hypr/rules.conf +++ b/Configs/hypr/rules.conf @@ -15,8 +15,8 @@ windowrulev2 = suppressevent maximize, class:.* windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 # Opacity 100% & No blur -windowrulev2 = noblur, class:^(.*(brave-browser|libreoffice)).*$ -windowrulev2 = opaque, class:^(.*(brave-browser|libreoffice)).*$ +windowrulev2 = noblur, class:^(.*(brave-browser|libreoffice|discord|steam)).*$ +windowrulev2 = opaque, class:^(.*(brave-browser|libreoffice|discord|steam)).*$ # For Games windowrulev2 = noshadow, onworkspace:6