home,dunst: dunstrc -> home-manager options
This commit is contained in:
parent
7c3280f7c7
commit
37e342f4e2
5 changed files with 27 additions and 62 deletions
|
@ -1,57 +0,0 @@
|
|||
#
|
||||
# Dunst config
|
||||
# ~/.config/dunst/dunstrc
|
||||
# modified from https://github.com/end-4/dots-hyprland/blob/main/.config/dunst/dunstrc
|
||||
#
|
||||
|
||||
[global]
|
||||
follow = mouse
|
||||
geometry = "280x50-20+90"
|
||||
indicate_hidden = no
|
||||
separator_height = 2
|
||||
separator_color = yes
|
||||
padding = 12
|
||||
horizontal_padding = 12
|
||||
frame_width = 2
|
||||
font = Monospace 10
|
||||
line_height = 4
|
||||
markup = full
|
||||
format = "<b>%s</b>\n%b"
|
||||
alignment = left
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
stack_duplicates = yes
|
||||
hide_duplicate_count = no
|
||||
icon_position = left
|
||||
icon_path = /home/guanranwang/.local/share/icons/dunst
|
||||
show_indicators = no
|
||||
icon_position = left
|
||||
max_icon_size = 48
|
||||
sticky_history = yes
|
||||
history_length = 20
|
||||
title = Dunst
|
||||
class = Dunst
|
||||
corner_radius = 10
|
||||
offset = 8x8
|
||||
|
||||
# Tokyonight
|
||||
[global]
|
||||
frame_color = "#c0caf5"
|
||||
separator_color = frame
|
||||
|
||||
[urgency_low]
|
||||
timeout = 4
|
||||
background = "#1a1b26"
|
||||
foreground = "#c0caf5"
|
||||
|
||||
[urgency_normal]
|
||||
timeout = 8
|
||||
background = "#1a1b26"
|
||||
foreground = "#c0caf5"
|
||||
|
||||
[urgency_critical]
|
||||
timeout = 0
|
||||
background = "#1a1b26"
|
||||
foreground = "#c0caf5"
|
||||
frame_color = "#FAB387"
|
|
@ -29,10 +29,6 @@ in {
|
|||
source = "${configPath}/rofi";
|
||||
recursive = true;
|
||||
};
|
||||
"dunst" = {
|
||||
source = "${configPath}/dunst";
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
"makepkgs.conf" = {
|
||||
source = "${configPath}/makepkgs.conf";
|
||||
|
|
26
users/guanranwang/home-manager/nixos/dunst.nix
Normal file
26
users/guanranwang/home-manager/nixos/dunst.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{...}: {
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
padding = 10;
|
||||
horizontal_padding = 10;
|
||||
frame_width = 2;
|
||||
font = "Monospace 10";
|
||||
icon_path = "/home/guanranwang/.local/share/icons/dunst";
|
||||
corner_radius = 10;
|
||||
|
||||
max_icon_size = 128; # weird bug, default value (128) not working
|
||||
};
|
||||
|
||||
# Tokyonight
|
||||
global = {
|
||||
frame_color = "#c0caf5";
|
||||
background = "#1a1b26";
|
||||
foreground = "#c0caf5";
|
||||
};
|
||||
|
||||
urgency_critical.frame_color = "#fab387";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -12,7 +12,6 @@
|
|||
# x11 + wayland
|
||||
rofi-wayland
|
||||
rofi-power-menu
|
||||
dunst
|
||||
pamixer
|
||||
brightnessctl
|
||||
playerctl
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
../home.nix
|
||||
|
||||
../dotfiles.nix
|
||||
../dunst.nix
|
||||
../fonts.nix
|
||||
../i18n.nix
|
||||
../sway.nix
|
||||
|
|
Loading…
Reference in a new issue