diff --git a/home/wm/addon/default.nix b/home/wm/addon/default.nix index a225414..424ed5d 100644 --- a/home/wm/addon/default.nix +++ b/home/wm/addon/default.nix @@ -1,9 +1,9 @@ { ... }: { imports = [ ./rofi + ./swaync ./waybar ./auth-agent.nix - ./dunst.nix ./hyprlock.nix ./hypridle.nix ./kanshi.nix diff --git a/home/wm/addon/dunst.nix b/home/wm/addon/dunst.nix deleted file mode 100644 index 44b8599..0000000 --- a/home/wm/addon/dunst.nix +++ /dev/null @@ -1,87 +0,0 @@ -{ config -, pkgs -, ... -}: -let - dmenu = "${config.programs.rofi.package}/bin/rofi -dmenu"; - firefox = "${config.programs.firefox.finalPackage}/bin/firefox"; -in -{ - services.dunst = { - enable = true; - iconTheme.name = config.gtk.iconTheme.name; - iconTheme.package = config.gtk.iconTheme.package; - settings = { - global = { - font = "FiraCode Nerd Font 11"; - monitor = 0; - follow = "none"; - width = 300; - height = 300; - origin = "top-right"; - offset = "10x10"; - gap_size = 10; - notification_limit = 0; - progress_bar = true; - progress_bar_height = 10; - progress_bar_frame_width = 1; - progress_bar_min_width = 150; - progress_bar_max_width = 300; - indicate_hidden = "yes"; - transparency = 15; - separator_height = 1; - padding = 8; - horizontal_padding = 10; - text_icon_padding = 0; - frame_width = 0; - - frame_color = "#282a36"; - separator_color = "frame"; - sort = "yes"; - idle_threshold = 120; - line_height = 0; - markup = "full"; - format = ''%s %p\n%b''; - alignment = "left"; - vertical_alignment = "center"; - show_age_threshold = 60; - ellipsize = "middle"; - ignore_newline = "no"; - stack_duplicates = true; - hide_duplicate_count = false; - show_indicators = "yes"; - icon_position = "left"; - min_icon_size = 0; - max_icon_size = 64; - sticky_history = "yes"; - history_length = 20; - dmenu = "${dmenu} -p dunst"; - browser = "${firefox} -new-tab"; - always_run_script = true; - title = "Dunst"; - class = "Dunst"; - corner_radius = 0; - ignore_dbusclose = false; - mouse_left_click = "close_current"; - mouse_middle_click = "do_action, close_current"; - mouse_right_click = "close_all"; - }; - urgency_low = { - background = "#282a36"; - foreground = "#6272a4"; - timeout = 10; - }; - urgency_normal = { - background = "#282a36"; - foreground = "#bd93f9"; - timeout = 10; - }; - urgency_critical = { - background = "#ff5555"; - foreground = "#f8f8f2"; - frame_color = "#ff5555"; - timeout = 0; - }; - }; - }; -} diff --git a/home/wm/addon/swaync/default.nix b/home/wm/addon/swaync/default.nix new file mode 100644 index 0000000..f667de6 --- /dev/null +++ b/home/wm/addon/swaync/default.nix @@ -0,0 +1,7 @@ +_: { + services.swaync = { + enable = true; + settings = { }; + style = ./style.css; + }; +} diff --git a/home/wm/addon/swaync/style.css b/home/wm/addon/swaync/style.css new file mode 100644 index 0000000..e69de29