feat(tazjin/tverskoy): Add dunst configuration
This one is basically taken from some gist linked in the official dunst readme and makes nice little boxes. Change-Id: I5bee8488f333dcc2f7040b741729065ef8617ae0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3767 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
This commit is contained in:
parent
18315b2fb6
commit
e99d8510d7
3 changed files with 66 additions and 0 deletions
3
users/tazjin/dotfiles/default.nix
Normal file
3
users/tazjin/dotfiles/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
_: {
|
||||||
|
dunstrc = ./dunstrc;
|
||||||
|
}
|
54
users/tazjin/dotfiles/dunstrc
Normal file
54
users/tazjin/dotfiles/dunstrc
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
[global]
|
||||||
|
font = Iosevka Term 11
|
||||||
|
origin = top-left
|
||||||
|
markup = yes
|
||||||
|
plain_text = no
|
||||||
|
format = "<b>%s</b>\n%b"
|
||||||
|
sort = no
|
||||||
|
indicate_hidden = yes
|
||||||
|
alignment = center
|
||||||
|
bounce_freq = 0
|
||||||
|
show_age_threshold = -1
|
||||||
|
word_wrap = yes
|
||||||
|
ignore_newline = no
|
||||||
|
stack_duplicates = yes
|
||||||
|
hide_duplicate_count = yes
|
||||||
|
geometry = "300x50-15+49"
|
||||||
|
shrink = no
|
||||||
|
transparency = 5
|
||||||
|
idle_threshold = 0
|
||||||
|
monitor = 0
|
||||||
|
follow = keyboard
|
||||||
|
sticky_history = yes
|
||||||
|
history_length = 15
|
||||||
|
show_indicators = no
|
||||||
|
line_height = 3
|
||||||
|
separator_height = 2
|
||||||
|
padding = 6
|
||||||
|
horizontal_padding = 6
|
||||||
|
separator_color = frame
|
||||||
|
startup_notification = false
|
||||||
|
dmenu = /usr/bin/dmenu -p dunst:
|
||||||
|
browser = /usr/bin/firefox -new-tab
|
||||||
|
icon_position = off
|
||||||
|
max_icon_size = 80
|
||||||
|
frame_width = 3
|
||||||
|
frame_color = "#8EC07C"
|
||||||
|
|
||||||
|
[urgency_low]
|
||||||
|
frame_color = "#3B7C87"
|
||||||
|
foreground = "#3B7C87"
|
||||||
|
background = "#191311"
|
||||||
|
timeout = 4
|
||||||
|
|
||||||
|
[urgency_normal]
|
||||||
|
frame_color = "#5B8234"
|
||||||
|
foreground = "#5B8234"
|
||||||
|
background = "#191311"
|
||||||
|
timeout = 6
|
||||||
|
|
||||||
|
[urgency_critical]
|
||||||
|
frame_color = "#B7472A"
|
||||||
|
foreground = "#B7472A"
|
||||||
|
background = "#191311"
|
||||||
|
timeout = 8
|
|
@ -367,6 +367,15 @@ in lib.fix(self: {
|
||||||
lockCmd = "${screenLock}/bin/tazjin-screen-lock";
|
lockCmd = "${screenLock}/bin/tazjin-screen-lock";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.dunst.enable = true;
|
||||||
|
|
||||||
|
xdg.configFile."dunst/dunstrc" = {
|
||||||
|
source = depot.users.tazjin.dotfiles.dunstrc;
|
||||||
|
onChange = ''
|
||||||
|
${pkgs.procps}/bin/pkill -u "$USER" ''${VERBOSE+-e} dunst || true
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
systemd.user.startServices = true;
|
systemd.user.startServices = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue