From a746c4fcffb3b9e5cd6c43c8f0f041dbfca2e13a Mon Sep 17 00:00:00 2001 From: hesam-init Date: Thu, 15 Feb 2024 23:02:53 +0330 Subject: [PATCH] feat: new border style and vscode window rule --- hyprland/.config/hypr/conf/decorations/default.conf | 4 ++-- hyprland/.config/hypr/conf/keybindings/default.conf | 2 +- hyprland/.config/hypr/conf/windowrules/default.conf | 5 ++++- hyprland/.config/hypr/conf/windows/default.conf | 4 +++- hyprland/.config/waybar/river/config.jsonc | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/hyprland/.config/hypr/conf/decorations/default.conf b/hyprland/.config/hypr/conf/decorations/default.conf index 1f79e7b..5b81546 100644 --- a/hyprland/.config/hypr/conf/decorations/default.conf +++ b/hyprland/.config/hypr/conf/decorations/default.conf @@ -4,7 +4,7 @@ # ----------------------------------------------------- decoration { - rounding = 8 + rounding = 6 blur { enabled = true @@ -18,7 +18,7 @@ decoration { } active_opacity = 1.0 - inactive_opacity = 0.9 + inactive_opacity = 0.8 fullscreen_opacity = 1.0 drop_shadow = true diff --git a/hyprland/.config/hypr/conf/keybindings/default.conf b/hyprland/.config/hypr/conf/keybindings/default.conf index 30db633..44cb60a 100644 --- a/hyprland/.config/hypr/conf/keybindings/default.conf +++ b/hyprland/.config/hypr/conf/keybindings/default.conf @@ -9,8 +9,8 @@ bind = $mainMod, E, exec, $fileManager bind = $mainMod, N, exec, $network_manager bind = $mainMod, V, togglefloating, bind = $mainMod, C, killactive, -bind = $mainMod, M, exit, bind = $mainMod, P, pseudo, +# bind = $mainMod, M, exit, bind = $mainMod, J, togglesplit, bind = $mainMod, F, fullscreen, 1 bind = $mainMod SHIFT, right, resizeactive, 100 0 diff --git a/hyprland/.config/hypr/conf/windowrules/default.conf b/hyprland/.config/hypr/conf/windowrules/default.conf index d86abaf..aee6911 100644 --- a/hyprland/.config/hypr/conf/windowrules/default.conf +++ b/hyprland/.config/hypr/conf/windowrules/default.conf @@ -7,10 +7,13 @@ windowrulev2 = bordercolor rgb(FF0000) rgb(880808) 15deg,fullscreen:1 windowrulev2 = animation popin,class:^(alacritty|Alacritty|pavucontrol|org.kde.polkit-kde-authentication-agent-1)$ windowrulev2 = float,class:^(pavucontrol|wlogout|dunst|Dunst|org.kde.polkit-kde-authentication-agent-1)$ -# alacritty: +# alacritty rules: windowrulev2 = float, class:floating windowrulev2 = animation popin, class:floating +# vscode rules : +windowrulev2 = opacity 0.8,class:^(Code)$ + # firefox rules : windowrulev2= float,class:^(Firefox|firefox)$,title:^(Library|Picture-in-Picture)$ windowrulev2= animation popin,class:^(Firefox|firefox)$,title:^(Library|Picture-in-Picture)$ diff --git a/hyprland/.config/hypr/conf/windows/default.conf b/hyprland/.config/hypr/conf/windows/default.conf index 07ac860..08a49cc 100644 --- a/hyprland/.config/hypr/conf/windows/default.conf +++ b/hyprland/.config/hypr/conf/windows/default.conf @@ -7,9 +7,11 @@ general { max_fps = 75 gaps_in = 4 gaps_out = 5 - border_size = 2 + border_size = 1 + col.active_border = rgba(0DB7D4FF) col.inactive_border = rgba(31313699) + no_focus_fallback = true layout = dwindle allow_tearing = false diff --git a/hyprland/.config/waybar/river/config.jsonc b/hyprland/.config/waybar/river/config.jsonc index ad3cc2c..c595f5d 100644 --- a/hyprland/.config/waybar/river/config.jsonc +++ b/hyprland/.config/waybar/river/config.jsonc @@ -1,7 +1,7 @@ { "layer": "top", "position": "top", - "height": 32, + "height": 30, "spacing": 5, "margin-top": 10, "margin-bottom": 5,