mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-27 06:46:44 -04:00
Add option to change terminal alpha through key-bindings
This commit is contained in:
parent
377997be9d
commit
4e2347da12
7 changed files with 177 additions and 123 deletions
12
input.c
12
input.c
|
|
@ -178,6 +178,18 @@ execute_binding(struct seat *seat, struct terminal *term,
|
|||
term_font_size_reset(term);
|
||||
return true;
|
||||
|
||||
case BIND_ACTION_ALPHA_UP:
|
||||
term_alpha_increase(term);
|
||||
return true;
|
||||
|
||||
case BIND_ACTION_ALPHA_DOWN:
|
||||
term_alpha_decrease(term);
|
||||
return true;
|
||||
|
||||
case BIND_ACTION_ALPHA_RESET:
|
||||
term_alpha_reset(term);
|
||||
return true;
|
||||
|
||||
case BIND_ACTION_SPAWN_TERMINAL:
|
||||
term_spawn_new(term);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue