✨ feat: play system bell on volume change
it can be disabled within the colorshell's configuration file, under the `misc` section: misc:play_bell_on_volume_change: (true|false)
This commit is contained in:
@@ -28,7 +28,7 @@ export type ConfigEntries = Partial<{
|
||||
}>;
|
||||
|
||||
clock: Partial<{
|
||||
/** use the same formats as gnu's `date` command */
|
||||
/** use the same format as gnu's `date` command */
|
||||
date_format: string;
|
||||
}>;
|
||||
|
||||
@@ -42,6 +42,10 @@ export type ConfigEntries = Partial<{
|
||||
/** whether to save night light values to disk */
|
||||
save_on_shutdown: boolean;
|
||||
}>;
|
||||
|
||||
misc: Partial<{
|
||||
play_bell_on_volume_change: boolean;
|
||||
}>;
|
||||
}>;
|
||||
|
||||
type ValueTypes = "string" | "boolean" | "object" | "number" | "undefined" | "any";
|
||||
@@ -79,6 +83,10 @@ class Config extends GObject.Object {
|
||||
|
||||
clock: {
|
||||
date_format: "%A %d, %H:%M"
|
||||
},
|
||||
|
||||
misc: {
|
||||
play_bell_on_volume_change: true
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user