mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 05:39:52 -07:00
Support notifications via terminal bell (#227)
Co-authored-by: Benjamin Grosse <ste3ls@gmail.com>
This commit is contained in:
parent
db9cb92737
commit
99996e275b
6 changed files with 78 additions and 27 deletions
|
@ -28,6 +28,7 @@ use crate::{
|
|||
ApplicationSettings,
|
||||
DirectoryValues,
|
||||
Notifications,
|
||||
NotifyVia,
|
||||
ProfileConfig,
|
||||
SortOverrides,
|
||||
TunableValues,
|
||||
|
@ -187,7 +188,11 @@ pub fn mock_tunables() -> TunableValues {
|
|||
open_command: None,
|
||||
username_display: UserDisplayStyle::Username,
|
||||
message_user_color: false,
|
||||
notifications: Notifications { enabled: false, show_message: None },
|
||||
notifications: Notifications {
|
||||
enabled: false,
|
||||
via: NotifyVia::Desktop,
|
||||
show_message: true,
|
||||
},
|
||||
image_preview: None,
|
||||
user_gutter_width: 30,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue