mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 17:57:47 +02:00
Revert "Remove dunst"
I actually switch between bspwm, sway, and other desktop environments depending on how I feel now, and use dunst for bspwm.
This commit is contained in:
parent
ce3fde5b1a
commit
180f676bc8
8
dunst/.config/dunst/wal.sh
Executable file
8
dunst/.config/dunst/wal.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Symlink dunst config
|
||||||
|
ln -sf ~/.cache/wal/dunstrc ~/.config/dunst/dunstrc
|
||||||
|
|
||||||
|
# Restart dunst with the new color scheme
|
||||||
|
pkill dunst
|
||||||
|
dunst &
|
57
dunst/.config/wal/templates/dunstrc
Normal file
57
dunst/.config/wal/templates/dunstrc
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
# 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
|
||||||
|
geometry = "3740x5-50+95"
|
||||||
|
|
||||||
|
# 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 = "{color4}"
|
||||||
|
frame_width = 6
|
||||||
|
|
||||||
|
# How long a user needs to be idle for sticky notifications
|
||||||
|
idle_threshold = 120
|
||||||
|
|
||||||
|
# Font and typography settings
|
||||||
|
font = Fira Mono 11
|
||||||
|
alignment = center
|
||||||
|
word_wrap = yes
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# These are the keybindings used to control dunst notifications
|
||||||
|
[shortcuts]
|
||||||
|
close = ctrl+space
|
||||||
|
close_all = ctrl+shift+space
|
||||||
|
history = ctrl+grave
|
||||||
|
|
||||||
|
# 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
|
16
dunst/README.md
Normal file
16
dunst/README.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# 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
|
@ -3,3 +3,7 @@
|
|||||||
if [ -e ~/.config/bspwm/wal.sh ]; then
|
if [ -e ~/.config/bspwm/wal.sh ]; then
|
||||||
~/.config/bspwm/wal.sh
|
~/.config/bspwm/wal.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e ~/.config/dunst/wal.sh ]; then
|
||||||
|
~/.config/dunst/wal.sh
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user