Implement some amount of dark/light mode switching
This commit is contained in:
parent
d4683d27f7
commit
0442b8e98e
8 changed files with 91 additions and 15 deletions
|
|
@ -20,9 +20,7 @@ play-sound=play ${filename}
|
|||
|
||||
# Default values, may be overridden in 'urgency' specific sections
|
||||
layer=overlay
|
||||
background=1f1f28cc
|
||||
|
||||
border-color=909090ff
|
||||
border-radius=22
|
||||
border-size=3
|
||||
|
||||
|
|
@ -32,15 +30,12 @@ padding-horizontal=20
|
|||
dpi-aware=yes
|
||||
|
||||
title-font=Rubik:size=12
|
||||
title-color=dcd7baff
|
||||
# title-format=<i>%a%A</i>
|
||||
|
||||
summary-font=Rubik:size=10
|
||||
summary-color=dcd7baff
|
||||
# summary-format=<b>%s</b>\n
|
||||
|
||||
body-font=Rubik:size=10
|
||||
body-color=54546Dff
|
||||
body-format=Itthebody%b
|
||||
|
||||
# progress-bar-height=20
|
||||
|
|
@ -54,14 +49,15 @@ max-timeout=60
|
|||
default-timeout=10
|
||||
idle-timeout=30
|
||||
|
||||
[low]
|
||||
title-color=a5adcbff
|
||||
summary-color=cad3f5ff
|
||||
body-color=cad3f5ff
|
||||
background=24273aff
|
||||
border-color=8aadf4ff
|
||||
progress-bar-color=6e738dff
|
||||
|
||||
[critical]
|
||||
border-color=f5a97fff
|
||||
|
||||
[low]
|
||||
sound-file=/usr/share/sounds/freedesktop/stereo/message.oga
|
||||
# background=2b2b2bff
|
||||
# title-color=888888ff
|
||||
# summary-color=888888ff
|
||||
# body-color=888888ff
|
||||
|
||||
# [normal]
|
||||
|
||||
# [critical]
|
||||
# background=6c3333f
|
||||
63
home/dot_config/fnott/fnott_light.ini
Normal file
63
home/dot_config/fnott/fnott_light.ini
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
# -*- conf -*-
|
||||
|
||||
# For documentation on these options, see `man fnott.ini`
|
||||
|
||||
# Global values
|
||||
# output=<undefined>#
|
||||
#min-width=300
|
||||
#max-width=800
|
||||
#max-height=200
|
||||
# stacking-order=bottom-up
|
||||
anchor=top-right
|
||||
edge-margin-vertical=40
|
||||
edge-margin-horizontal=40
|
||||
# notification-margin=10
|
||||
# icon-theme=hicolor
|
||||
# max-icon-size=32
|
||||
# selection-helper=dmenu
|
||||
# selection-helper-uses-null-separator=no
|
||||
play-sound=play ${filename}
|
||||
|
||||
# Default values, may be overridden in 'urgency' specific sections
|
||||
layer=overlay
|
||||
|
||||
border-radius=22
|
||||
border-size=3
|
||||
|
||||
padding-vertical=20
|
||||
padding-horizontal=20
|
||||
|
||||
dpi-aware=yes
|
||||
|
||||
title-font=Rubik:size=12
|
||||
# title-format=<i>%a%A</i>
|
||||
|
||||
summary-font=Rubik:size=10
|
||||
# summary-format=<b>%s</b>\n
|
||||
|
||||
body-font=Rubik:size=10
|
||||
body-format=Itthebody%b
|
||||
|
||||
# progress-bar-height=20
|
||||
# progress-bar-color=ffffffff
|
||||
|
||||
sound-file=/usr/share/sounds/freedesktop/stereo/bell.oga
|
||||
# icon=
|
||||
|
||||
# Timeout values are in seconds. 0 to disable
|
||||
max-timeout=60
|
||||
default-timeout=10
|
||||
idle-timeout=30
|
||||
|
||||
title-color=6c6f85ff
|
||||
summary-color=4c4f69ff
|
||||
body-color=4c4f69ff
|
||||
background=eff1f5ff
|
||||
border-color=1e66f5ff
|
||||
progress-bar-color=9ca0b0ff
|
||||
|
||||
[critical]
|
||||
border-color=fe640bff
|
||||
|
||||
[low]
|
||||
sound-file=/usr/share/sounds/freedesktop/stereo/message.oga
|
||||
1
home/dot_config/fnott/symlink_fnott.ini
Normal file
1
home/dot_config/fnott/symlink_fnott.ini
Normal file
|
|
@ -0,0 +1 @@
|
|||
fnott_dark.ini
|
||||
2
home/dot_config/xdg-desktop-portal/portals.conf
Normal file
2
home/dot_config/xdg-desktop-portal/portals.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[preferred]
|
||||
org.freedesktop.impl.portal.Settings=darkman
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
pkill --signal=SIGUSR1 foot
|
||||
4
home/dot_local/private_share/dark-mode.d/fnott.sh
Normal file
4
home/dot_local/private_share/dark-mode.d/fnott.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
ln -sf fnott_dark.ini ~/.config/fnott/fnott.ini
|
||||
pkill --signal=SIGUSR1 fnott
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
pkill --signal=SIGUSR2 foot
|
||||
4
home/dot_local/private_share/light-mode.d/fnott.sh
Normal file
4
home/dot_local/private_share/light-mode.d/fnott.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
ln -sf fnott_light.ini ~/.config/fnott/fnott.ini
|
||||
pkill --signal=SIGUSR1 fnott
|
||||
Loading…
Add table
Reference in a new issue