From c7b7bb51a296281dc8aca405ed6876be2209a17d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 22 May 2024 10:35:19 +0100 Subject: [PATCH] Change default opacity to 0.9 / 90% --- programs/emacs/default.nix | 2 +- programs/sway/alacritty/default.nix | 2 +- programs/sway/avizo/default.nix | 4 ++-- programs/sway/swaync/default.nix | 4 ++-- programs/sway/waybar/default.nix | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/programs/emacs/default.nix b/programs/emacs/default.nix index f1af21c..db97d8c 100644 --- a/programs/emacs/default.nix +++ b/programs/emacs/default.nix @@ -14,7 +14,7 @@ font = "${fonts.monospace.name}-${toString fonts.sizes.applications}"; fixed-font-family = "${fonts.monospace.name}"; variable-font-family = "${fonts.sansSerif.name}"; - alpha = "80"; + alpha = "90"; in '' (customize-set-variable 'shell-file-name "${shell}") (add-to-list 'initial-frame-alist '(font . "${font}")) diff --git a/programs/sway/alacritty/default.nix b/programs/sway/alacritty/default.nix index c84145d..30cb557 100644 --- a/programs/sway/alacritty/default.nix +++ b/programs/sway/alacritty/default.nix @@ -13,7 +13,7 @@ }; }; window = { - opacity = 0.8; + opacity = 0.9; dynamic_title = true; padding = { x = 10; diff --git a/programs/sway/avizo/default.nix b/programs/sway/avizo/default.nix index 8bcb869..5c4eeb4 100644 --- a/programs/sway/avizo/default.nix +++ b/programs/sway/avizo/default.nix @@ -12,8 +12,8 @@ b = config.scheme."${accentColour}-rgb-b"; }; in { - background = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.8)"; - bar-bg-color = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.8)"; + background = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.9)"; + bar-bg-color = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.9)"; bar-fg-color = "rgba(${base05-rgb-r}, ${base05-rgb-g}, ${base05-rgb-b}, 1.0)"; border-color = "rgba(${accent.r}, ${accent.g}, ${accent.b}, 1.0)"; image-opacity = "1.0"; diff --git a/programs/sway/swaync/default.nix b/programs/sway/swaync/default.nix index 9a395fc..d4b278a 100644 --- a/programs/sway/swaync/default.nix +++ b/programs/sway/swaync/default.nix @@ -19,7 +19,7 @@ border-radius: 10px; border: 1px solid ${withHashtag.${accentColour}}; margin: 18px; - background-color: rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.8); + background-color: rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.9); color: ${withHashtag.base05}; padding: 0; } @@ -142,7 +142,7 @@ border-radius: 10px; border: 1px solid ${withHashtag.${accentColour}}; margin: 18px; - background-color: rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.8); + background-color: rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, 0.9); color: ${withHashtag.base05}; padding: 14px; } diff --git a/programs/sway/waybar/default.nix b/programs/sway/waybar/default.nix index 12db0b7..5e0228f 100644 --- a/programs/sway/waybar/default.nix +++ b/programs/sway/waybar/default.nix @@ -269,7 +269,7 @@ window > box { color: ${base05}; - background: alpha(${base00}, 0.8); + background: alpha(${base00}, 0.9); margin: 5px 5px 0px; padding: 0px; border: 1px solid ${accent};