]> Freerunner's - dotfiles.git/commitdiff
Revert "gitignore: ignore mako's config because flavours"
authorAndre Ramnitz <tux.rising@gmail.com>
Tue, 22 Jul 2025 00:27:00 +0000 (02:27 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Tue, 22 Jul 2025 00:53:05 +0000 (02:53 +0200)
This reverts commit 9fec0d291c91484e83b573e528eff11941df0a41.

from https://stackoverflow.com/questions/9794931/keep-file-in-a-git-repo-but-dont-track-changes :
git has a different solution to do this. First change the file you do not want to be tracked and use the following command:
git update-index --assume-unchanged FILE_NAME
and if you want to track the changes again use this command:
git update-index --no-assume-unchanged FILE_NAME

.gitignore
dot-config/mako/config [new file with mode: 0644]

index 477e83328acd075a2318b526d3128b63e88e4df9..5384727fadee5b7942d485feb56da01df3d969f6 100644 (file)
@@ -489,9 +489,6 @@ dot-config/aerc/stylesets/base16
 # plasma stuff here
 dot-config/kwinrc
 
-# mako
-dot-config/mako/config*
-
 # desktop files
 dot-local/share/applications/
 
diff --git a/dot-config/mako/config b/dot-config/mako/config
new file mode 100644 (file)
index 0000000..6946c8d
--- /dev/null
@@ -0,0 +1,71 @@
+## Mako configuration file
+
+# GLOBAL CONFIGURATION OPTIONS
+max-history=50
+sort=-time
+
+# BINDING OPTIONS
+on-button-left=dismiss
+on-button-middle=none
+on-button-right=dismiss-all
+on-touch=dismiss
+on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga
+
+# STYLE OPTIONS
+font=ZedMono NFM 15
+width=500
+height=132
+margin=20
+padding=15
+border-size=2
+border-radius=5
+icons=1
+max-icon-size=128
+icon-location=left
+markup=1
+actions=1
+history=1
+text-alignment=left
+default-timeout=6000
+ignore-timeout=0
+max-visible=5
+layer=overlay
+anchor=top-right
+
+# Start flavours
+## Base16 Catppuccin Mocha
+# Author: https://github.com/catppuccin/catppuccin
+#
+# You can use these variables anywhere in the mako configuration file.
+
+background-color=#181825aa
+text-color=#cdd6f4
+border-color=#94e2d5
+
+[urgency=low]
+background-color=#181825aa
+text-color=#f9e2af
+border-color=#94e2d5
+
+[urgency=high]
+background-color=#181825aa
+text-color=#f38ba8
+border-color=#94e2d5
+# End flavours
+
+[mode=do-not-disturb]
+invisible=1
+
+[app-name=wp-vol]
+layer=overlay
+history=0
+anchor=top-center
+# Group all volume notifications together
+group-by=app-name
+# Hide the group-index
+format=<b>%s</b>\n%b
+
+[app-name=volume group-index=0]
+# Only show last notification
+invisible=0
+