mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-17 19:38:54 +01:00
nix: Nixify dunst
This commit is contained in:
parent
23ddf7de1a
commit
ac3769d21c
@ -1,8 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Symlink dunst config
|
|
||||||
ln -sf ~/.cache/wal/dunstrc ~/.config/dunst/dunstrc
|
|
||||||
|
|
||||||
# Restart dunst with the new color scheme
|
|
||||||
pkill dunst
|
|
||||||
dunst &
|
|
@ -1,62 +0,0 @@
|
|||||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
||||||
# Copyright (C) 2018 Donovan Glover
|
|
||||||
|
|
||||||
# NOTE: This file is automatically generated by pywal. Do not edit it by hand.
|
|
||||||
|
|
||||||
[global]
|
|
||||||
# Make the width 3740 (3840 - 100), have 50 left margin and 95 above (for HiDPI, below this is normal DPI)
|
|
||||||
# geometry = "3740x5-50+95"
|
|
||||||
geometry = "1870x5-25+45"
|
|
||||||
|
|
||||||
# Increase width of dunst notifications
|
|
||||||
width = 350
|
|
||||||
|
|
||||||
# Show multiple notifications in the same box
|
|
||||||
separator_height = 0
|
|
||||||
|
|
||||||
# Add vertical padding to the inside of the notification
|
|
||||||
padding = 24
|
|
||||||
|
|
||||||
# Add horizontal padding for when the text gets long enough
|
|
||||||
horizontal_padding = 24
|
|
||||||
|
|
||||||
# The frame color and width of the notification
|
|
||||||
frame_color = "{color8}"
|
|
||||||
frame_width = 3
|
|
||||||
|
|
||||||
# How long a user needs to be idle for sticky notifications
|
|
||||||
idle_threshold = 120
|
|
||||||
|
|
||||||
# Font and typography settings
|
|
||||||
font = Maple Mono 12
|
|
||||||
alignment = center
|
|
||||||
word_wrap = yes
|
|
||||||
|
|
||||||
# Transparency
|
|
||||||
transparency = 5
|
|
||||||
|
|
||||||
# Format for how notifications will be displayed
|
|
||||||
# Usage: `notify-send 'Title' 'Summary'`
|
|
||||||
format = "<b>%s</b>: %b"
|
|
||||||
|
|
||||||
# Allow some HTML tags like <i> and <u> in notifications
|
|
||||||
markup = full
|
|
||||||
|
|
||||||
# Increase the size of cover notifications
|
|
||||||
min_icon_size = 128
|
|
||||||
max_icon_size = 128
|
|
||||||
|
|
||||||
# Set the background and foreground (text) color for all notifications
|
|
||||||
[urgency_low]
|
|
||||||
background = "{background}"
|
|
||||||
foreground = "{foreground}"
|
|
||||||
|
|
||||||
[urgency_normal]
|
|
||||||
background = "{background}"
|
|
||||||
foreground = "{foreground}"
|
|
||||||
|
|
||||||
[urgency_critical]
|
|
||||||
background = "{background}"
|
|
||||||
foreground = "{foreground}"
|
|
||||||
|
|
||||||
# vim:ft=cfg
|
|
@ -1,16 +0,0 @@
|
|||||||
# dunst
|
|
||||||
|
|
||||||
[dunst][dunst] is used to display notifications on your desktop.
|
|
||||||
|
|
||||||
## Use Cases
|
|
||||||
|
|
||||||
dunst can be used to:
|
|
||||||
|
|
||||||
- Display messages sent with `notify-send`
|
|
||||||
- Strategically add notifications to your rice screenshots
|
|
||||||
|
|
||||||
You should not use dunst if:
|
|
||||||
|
|
||||||
- Your desktop environment already includes a notification daemon
|
|
||||||
|
|
||||||
[dunst]: https://github.com/dunst-project/dunst
|
|
@ -84,6 +84,24 @@
|
|||||||
};
|
};
|
||||||
services.dunst = {
|
services.dunst = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
global = {
|
||||||
|
geometry = "1870x5-25+45";
|
||||||
|
width = 350;
|
||||||
|
separator_height = 5;
|
||||||
|
padding = 24;
|
||||||
|
horizontal_padding = 24;
|
||||||
|
frame_width = 3;
|
||||||
|
idle_threshold = 120;
|
||||||
|
alignment = "center";
|
||||||
|
word_wrap = "yes";
|
||||||
|
transparency = 5;
|
||||||
|
format = "<b>%s</b>: %b";
|
||||||
|
markup = "full";
|
||||||
|
min_icon_size = 128;
|
||||||
|
max_icon_size = 128;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user