From bb29250c8c853b70e4f73cc1d483c1854e0ba7d3 Mon Sep 17 00:00:00 2001 From: Ayush Dumasia Date: Fri, 9 May 2025 15:48:58 +0530 Subject: [PATCH] =?UTF-8?q?refactor=20=F0=9F=94=A8:=20MICS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hypr/hyprland.conf | 12 ++++++------ hypr/hyprlock.conf | 2 +- kitty/kitty.conf | 2 +- waybar/scripts/toggle-trans.sh | 10 ++-------- 4 files changed, 10 insertions(+), 16 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index d0c6209..db8cb87 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -37,7 +37,7 @@ windowrulev2 = workspace 1, class:zen-alpha windowrulev2 = workspace 1, class:firefox-bin windowrulev2 = workspace 3, class:Code windowrulev2 = workspace 1, class:obsidian -windowrulev2 = workspace 9, class:Docker Desktop +windowrulev2 = workspace 2, class:Docker Desktop ############################# @@ -55,7 +55,7 @@ general { gaps_in = 3 gaps_out = 6 - border_size = 2 + border_size = 0 col.active_border = rgb(8aadf4) rgb(24273A) rgb(24273A) rgb(8aadf4) 45deg col.inactive_border = rgb(24273A) rgb(24273A) rgb(24273A) rgb(27273A) 45deg @@ -74,7 +74,7 @@ decoration { dim_special = 0.2 rounding = 6 -active_opacity = 1 + active_opacity = 0.85 inactive_opacity = 0.75 shadow { @@ -85,10 +85,10 @@ active_opacity = 1 blur { enabled = true - size = 3 - passes = 3 + size = 2 + passes = 4 new_optimizations = true - vibrancy = 0.1696 + vibrancy = 0.3000 ignore_opacity = true } diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index c730526..57a3876 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -92,7 +92,7 @@ background { monitor = - path = /home/arcadian/Pictures/Wallpaper/529ilqybmlwe1.png + path = /home/arcadian/Pictures/Wallpaper/FullSize.png # only png supported for now } diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 6889d02..0f9a89d 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -1,6 +1,6 @@ include current-theme.conf -font_size 10.0 +font_size 12.0 enable_ligature true confirm_os_window_close 0 diff --git a/waybar/scripts/toggle-trans.sh b/waybar/scripts/toggle-trans.sh index 66b8172..fa9d94f 100755 --- a/waybar/scripts/toggle-trans.sh +++ b/waybar/scripts/toggle-trans.sh @@ -2,27 +2,21 @@ CONFIG_FILE="$HOME/.config/hypr/hyprland.conf" -# Check if config file exists if [[ ! -f "$CONFIG_FILE" ]]; then echo "Hyprland config file not found at $CONFIG_FILE" exit 1 fi -# Get the current opacity value CURRENT_OPACITY=$(grep -E "^\s*active_opacity\s*=\s*" "$CONFIG_FILE" | awk -F'=' '{print $2}' | tr -d ' ') -# Determine the new opacity value if [[ "$CURRENT_OPACITY" == "1" ]]; then - NEW_OPACITY="0.95" + NEW_OPACITY="0.85" else NEW_OPACITY="1" fi -# Update the config file -sed -i "s/^\s*active_opacity\s*=\s*[0-9.]*/active_opacity = $NEW_OPACITY/" "$CONFIG_FILE" +sed -i "s/^\s*active_opacity\s*=\s*[0-9.]*/ active_opacity = $NEW_OPACITY/" "$CONFIG_FILE" echo "Toggled active_opacity to $NEW_OPACITY" -# Reload Hyprland config hyprctl reload -