Skip to content

Commit 1ee0702

Browse files
pipetogreprobert stringerdhh
authored andcommitted
feat: Notification settings persist across theme changes (basecamp#1484)
* Added a core.ini file for setting persistent notification settings * migration * remove: max-icon-size from core.ini * rearranging mako files * moving core.ini mako config inside omarchy * added core.ini to migration * We don't actually need this Mako is already loaded. The new config will get picked up automatically on next reboot. * Don't change * No change required here --------- Co-authored-by: robert stringer <[email protected]> Co-authored-by: xz <xz> Co-authored-by: David Heinemeier Hansson <[email protected]>
1 parent 6c62197 commit 1ee0702

File tree

13 files changed

+50
-188
lines changed

13 files changed

+50
-188
lines changed

default/mako/core.ini

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
anchor=top-right
2+
default-timeout=5000
3+
width=420
4+
height=110
5+
6+
[app-name=Spotify]
7+
invisible=1
8+
9+
[mode=do-not-disturb]
10+
invisible=true
11+
12+
[mode=do-not-disturb app-name=notify-send]
13+
invisible=false
14+
15+
[urgency=critical]
16+
default-timeout=0

install/config/theme.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ ln -snf ~/.config/omarchy/current/theme/btop.theme ~/.config/btop/themes/current
2626

2727
mkdir -p ~/.config/mako
2828
ln -snf ~/.config/omarchy/current/theme/mako.ini ~/.config/mako/config
29+

themes/catppuccin-latte/mako.ini

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,10 @@
1+
include=~/.local/share/omarchy/default/mako/core.ini
2+
13
text-color=#4c4f69
24
border-color=#1e66f5
35
background-color=#eff1f5
4-
width=420
5-
height=110
66
padding=10
77
border-size=2
88
font=Liberation Sans 11
9-
anchor=top-right
10-
outer-margin=20
11-
default-timeout=5000
129
max-icon-size=32
13-
14-
[app-name=Spotify]
15-
invisible=1
16-
17-
[mode=do-not-disturb]
18-
invisible=true
19-
20-
[mode=do-not-disturb app-name=notify-send]
21-
invisible=false
22-
23-
24-
[urgency=critical]
25-
default-timeout=0
10+
outer-margin=20

themes/catppuccin/mako.ini

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1+
include=~/.local/share/omarchy/default/mako/core.ini
2+
13
text-color=#cad3f5
24
border-color=#c6d0f5
35
background-color=#24273a
4-
width=420
5-
height=110
66
padding=10
77
border-size=2
88
font=Liberation Sans 11
9-
anchor=top-right
10-
outer-margin=20
11-
default-timeout=5000
129
max-icon-size=32
13-
14-
[app-name=Spotify]
15-
invisible=1
16-
17-
[mode=do-not-disturb]
18-
invisible=true
19-
20-
[mode=do-not-disturb app-name=notify-send]
21-
invisible=false
22-
23-
[urgency=critical]
24-
default-timeout=0
10+
outer-margin=20

themes/everforest/mako.ini

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1+
include=~/.local/share/omarchy/default/mako/core.ini
2+
13
text-color=#d3c6aa
24
border-color=#d3c6aa
35
background-color=#2d353b
4-
width=420
5-
height=110
66
padding=10
77
border-size=2
88
font=Liberation Sans 11
9-
anchor=top-right
10-
outer-margin=20
11-
default-timeout=5000
129
max-icon-size=32
13-
14-
[app-name=Spotify]
15-
invisible=1
16-
17-
[mode=do-not-disturb]
18-
invisible=true
19-
20-
[mode=do-not-disturb app-name=notify-send]
21-
invisible=false
22-
23-
[urgency=critical]
24-
default-timeout=0
10+
outer-margin=20

themes/gruvbox/mako.ini

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1+
include=~/.local/share/omarchy/default/mako/core.ini
2+
13
text-color=#d4be98
24
border-color=#a89984
35
background-color=#282828
4-
width=420
5-
height=110
66
padding=10
77
border-size=2
88
font=Liberation Sans 11
9-
anchor=top-right
10-
outer-margin=20
11-
default-timeout=5000
129
max-icon-size=32
13-
14-
[app-name=Spotify]
15-
invisible=1
16-
17-
[mode=do-not-disturb]
18-
invisible=true
19-
20-
[mode=do-not-disturb app-name=notify-send]
21-
invisible=false
22-
23-
[urgency=critical]
24-
default-timeout=0
10+
outer-margin=20

themes/kanagawa/mako.ini

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1+
include=~/.local/share/omarchy/default/mako/core.ini
2+
13
text-color=#dcd7ba
24
border-color=#dcd7ba
35
background-color=#1f1f28
4-
width=420
5-
height=110
66
padding=10
77
border-size=2
88
font=Liberation Sans 11
9-
anchor=top-right
10-
outer-margin=20
11-
default-timeout=5000
129
max-icon-size=32
13-
14-
[app-name=Spotify]
15-
invisible=1
16-
17-
[mode=do-not-disturb]
18-
invisible=true
19-
20-
[mode=do-not-disturb app-name=notify-send]
21-
invisible=false
22-
23-
[urgency=critical]
24-
default-timeout=0
10+
outer-margin=20

themes/matte-black/mako.ini

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1+
include=~/.local/share/omarchy/default/mako/core.ini
2+
13
text-color=#8a8a8d
24
border-color=#8A8A8D
35
background-color=#1e1e1e
4-
width=420
5-
height=110
66
padding=10
77
border-size=2
88
font=Liberation Sans 11
9-
anchor=top-right
10-
outer-margin=20
11-
default-timeout=5000
129
max-icon-size=32
13-
14-
[app-name=Spotify]
15-
invisible=1
16-
17-
[mode=do-not-disturb]
18-
invisible=true
19-
20-
[mode=do-not-disturb app-name=notify-send]
21-
invisible=false
22-
23-
[urgency=critical]
24-
default-timeout=0
10+
outer-margin=20

themes/nord/mako.ini

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1+
include=~/.local/share/omarchy/default/mako/core.ini
2+
13
text-color=#d8dee9
24
border-color=#D8DEE9
35
background-color=#2e3440
4-
width=420
5-
height=110
66
padding=10
77
border-size=2
88
font=Liberation Sans 11
9-
anchor=top-right
10-
outer-margin=20
11-
default-timeout=5000
129
max-icon-size=32
13-
14-
[app-name=Spotify]
15-
invisible=1
16-
17-
[mode=do-not-disturb]
18-
invisible=true
19-
20-
[mode=do-not-disturb app-name=notify-send]
21-
invisible=false
22-
23-
[urgency=critical]
24-
default-timeout=0
10+
outer-margin=20

themes/osaka-jade/mako.ini

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1+
include=~/.local/share/omarchy/default/mako/core.ini
2+
13
text-color=#C1C497
24
border-color=#214237
35
background-color=#11221C
4-
width=420
5-
height=110
66
padding=10
77
border-size=2
88
font=Liberation Sans 12
9-
anchor=top-right
10-
outer-margin=5
11-
default-timeout=5000
129
max-icon-size=32
13-
14-
[app-name=Spotify]
15-
invisible=1
16-
17-
[mode=do-not-disturb]
18-
invisible=true
19-
20-
[mode=do-not-disturb app-name=notify-send]
21-
invisible=false
22-
23-
[urgency=critical]
24-
default-timeout=0
10+
outer-margin=5

0 commit comments

Comments
 (0)