mako: don't dismiss notifications when touched
This commit is contained in:
parent
9ed3dd4f22
commit
18eaebb7fc
|
@ -33,6 +33,7 @@
|
|||
./koreader
|
||||
./libreoffice.nix
|
||||
./lemoa.nix
|
||||
./mako.nix
|
||||
./megapixels.nix
|
||||
./mepo.nix
|
||||
./mopidy.nix
|
||||
|
|
45
hosts/common/programs/mako.nix
Normal file
45
hosts/common/programs/mako.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
# config docs:
|
||||
# - `man 5 mako`
|
||||
{ ... }:
|
||||
{
|
||||
sane.programs.mako = {
|
||||
fs.".config/mako/config".symlink.text = ''
|
||||
# notification interaction mapping
|
||||
# "on-touch" defaults to "dismiss", which isn't nice for touchscreens.
|
||||
on-button-left=invoke-default-action
|
||||
on-touch=invoke-default-action
|
||||
on-button-middle=dismiss-group
|
||||
|
||||
max-visible=3
|
||||
# notifications can be grouped by:
|
||||
# - app-name
|
||||
# - app-icon
|
||||
# - summary
|
||||
# - body
|
||||
# possibly more: urgency, category, desktop-entry, ...
|
||||
# to group by multiple fields, join with `,`
|
||||
group-by=app-name
|
||||
|
||||
# BELOW IS SXMO DEFAULTS, modified very slightly.
|
||||
# TODO: apply theme colors!
|
||||
|
||||
# default-timeout=15000
|
||||
background-color=#ffffff
|
||||
text-color=#000000
|
||||
border-color=#000000
|
||||
layer=overlay
|
||||
# group-by=app-name
|
||||
|
||||
[urgency=low]
|
||||
# default-timeout=10000
|
||||
background-color=#222222
|
||||
text-color=#888888
|
||||
|
||||
[urgency=high]
|
||||
default-timeout=0
|
||||
background-color=#900000
|
||||
text-color=#ffffff
|
||||
background-color=#ff0000
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -232,6 +232,15 @@ in
|
|||
source "$XDG_CONFIG_HOME/sxmo/profile"
|
||||
_sxmo_load_environments
|
||||
_sxmo_prepare_dirs
|
||||
# migrate tells sxmo to provide the following default files:
|
||||
# - ~/.config/sxmo/profile
|
||||
# - ~/.config/fontconfig/conf.d/50-sxmo.conf
|
||||
# - ~/.config/sxmo/sway
|
||||
# - ~/.config/foot/foot.ini
|
||||
# - ~/.config/mako/config
|
||||
# - ~/.config/sxmo/bonsai_tree.json
|
||||
# - ~/.config/wob/wob.ini
|
||||
# - ~/.config/sxmo/conky.conf
|
||||
sxmo_migrate.sh sync
|
||||
|
||||
# kill anything leftover from the previous sxmo run. this way we can (try to) be reentrant
|
||||
|
|
Loading…
Reference in New Issue
Block a user