mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Add hooks for theme set, font set, and post update (#2527)
Ala git hooks
This commit is contained in:
committed by
GitHub
parent
63e3b3e32f
commit
24e76a3b90
7
config/omarchy/hooks/font-set.sample
Normal file
7
config/omarchy/hooks/font-set.sample
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This hook is called with the snake-cased name of the font that has just been set.
|
||||
# To put it into use, remove .sample from the name.
|
||||
|
||||
# Example: Show the name of the theme that was just set.
|
||||
# notify-send "New font" "Your new font is $1"
|
||||
7
config/omarchy/hooks/post-update.sample
Normal file
7
config/omarchy/hooks/post-update.sample
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This hook is called after an Omarchy system update has been performed.
|
||||
# To put it into use, remove .sample from the name.
|
||||
|
||||
# Example: Show notification after the system has been updated.
|
||||
# notify-send "Update Performed" "Your system is now up to date"
|
||||
7
config/omarchy/hooks/theme-set.sample
Normal file
7
config/omarchy/hooks/theme-set.sample
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This hook is called with the snake-cased name of the theme that has just been set.
|
||||
# To put it into use, remove .sample from the name.
|
||||
|
||||
# Example: Show the name of the theme that was just set.
|
||||
# notify-send "New theme" "Your new theme is $1"
|
||||
Reference in New Issue
Block a user