From 4b7e21be2951b8b5ccd76f33c872fab00f96a14b Mon Sep 17 00:00:00 2001 From: "Reid \"reidlab" Date: Thu, 25 Jul 2024 17:14:49 -0700 Subject: [PATCH] minor visual changes --- config/dunst.conf | 40 +++++++++++++++++++----------------- config/nwg-drawer.css | 13 ++++++++---- modules/desktop/hyprland.nix | 15 +++++++------- 3 files changed, 38 insertions(+), 30 deletions(-) diff --git a/config/dunst.conf b/config/dunst.conf index da4bc4e..63c019a 100644 --- a/config/dunst.conf +++ b/config/dunst.conf @@ -1,7 +1,7 @@ # https://github.com/catppuccin/dunst/blob/main/src/mocha.conf [global] -frame_color = "#89B4FA" -separator_color= frame +frame_color = "#f5c2e7" +separator_color = frame follow = "mouse" width = 300 @@ -25,41 +25,43 @@ progress_bar_max_width = 300 separator_height = 2 frame_width = 2 corner_radius = 8 -transparency = 0 +transparency = 1 gap_size = 8 line_height = 0 -notification_limit = 0 -idle_threshold = 120 -history_length = 20 -show_age_threshold = 60 markup = "full" format = "%a\n%s\n%b" font = "Atkinson Hyperlegible Pro 11" word_wrap = "yes" -sort = "yes" -shrink = "no" -indicate_hidden = "yes" -sticky_history = "yes" ignore_newline = "no" -show_indicators = "no" -stack_duplicates = true -always_run_script = true -hide_duplicate_count = false ignore_dbusclose = false -mouse_left_click = "do_action" +mouse_left_click = "do_action, close_current" mouse_middle_click = "close_all" mouse_right_click = "close_current" +sort = "update" +shrink = "no" + +notification_limit = 4 +indicate_hidden = "yes" +idle_threshold = 120 +history_length = 20 +show_age_threshold = 60 +sticky_history = "yes" +show_indicators = "yes" +stack_duplicates = true +hide_duplicate_count = false +always_run_script = true + [urgency_low] -background = "#1E1E2E" +background = "#1E1E2E30" foreground = "#CDD6F4" [urgency_normal] -background = "#1E1E2E" +background = "#1E1E2E30" foreground = "#CDD6F4" [urgency_critical] -background = "#1E1E2E" +background = "#1E1E2E30" foreground = "#CDD6F4" frame_color = "#FAB387" diff --git a/config/nwg-drawer.css b/config/nwg-drawer.css index fa7cf4b..278521a 100644 --- a/config/nwg-drawer.css +++ b/config/nwg-drawer.css @@ -10,11 +10,16 @@ window { /* search entry */ entry { background-color: alpha(@surface0, 0.5); + color: @text; } -button, image { +button, box, widget, image { background: none; - border: none + border: none; + color: @text; + text-shadow: 0 1px alpha(@base, 0.75); + box-shadow: none; + outline: none; } button { @@ -22,6 +27,6 @@ button { border-radius: 1em; } -button:hover { - background-color: alpha(@surface0, 0.5); +button:hover, button:active, box:hover, box:active { + background: alpha(@surface0, 0.5); } \ No newline at end of file diff --git a/modules/desktop/hyprland.nix b/modules/desktop/hyprland.nix index 5b76a13..278064f 100644 --- a/modules/desktop/hyprland.nix +++ b/modules/desktop/hyprland.nix @@ -171,8 +171,8 @@ in { general = { gaps_in = 6; gaps_out = 6; - border_size = 2; - no_border_on_floating = true; + border_size = 1; + no_border_on_floating = false; layout = "dwindle"; @@ -214,14 +214,14 @@ in { "workspace 4, class:vesktop" ]; + blurls = [ + "gtk-layer-shell" + ]; + layerrule = [ "animation slide, notifications" "animation slide, waybar" - ]; - - blurls = [ - "gtk-layer-shell" # nwg-drawer - #"waybar" + "blur, notifications" ]; decoration = { @@ -253,6 +253,7 @@ in { "border, 1, 2, outExpo" "fade, 1, 3, outCubic" "workspaces, 1, 6, outExpo" + "specialWorkspace, 1, 2, outCubic, fade" ]; };