diff options
author | Kalyan Sriram <coder.kalyan@gmail.com> | 2020-07-27 01:03:55 -0700 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-08-06 21:42:06 +0200 |
commit | 905cb9dfd3ef197bb4b59039a1be76ce2c8e3099 (patch) | |
tree | 2d923c42ec224b1d525d942a7bb17416f4a62dd5 /commands/compose/detach.go | |
parent | 548a5fff68a648a5e0b6fd909e3c21463addc8af (diff) | |
download | aerc-905cb9dfd3ef197bb4b59039a1be76ce2c8e3099.tar.gz |
Implement style configuration.
Introduce the ability to configure stylesets, allowing customization of
aerc's look (color scheme, font weight, etc). Default styleset is
installed to /path/to/aerc/stylesets/default.
Diffstat (limited to 'commands/compose/detach.go')
-rw-r--r-- | commands/compose/detach.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/commands/compose/detach.go b/commands/compose/detach.go index e8b07ed6..b48159d0 100644 --- a/commands/compose/detach.go +++ b/commands/compose/detach.go @@ -3,10 +3,8 @@ package compose import ( "fmt" "strings" - "time" "git.sr.ht/~sircmpwn/aerc/widgets" - "github.com/gdamore/tcell" ) type Detach struct{} @@ -44,8 +42,7 @@ func (Detach) Execute(aerc *widgets.Aerc, args []string) error { return err } - aerc.PushStatus(fmt.Sprintf("Detached %s", path), 10*time.Second). - Color(tcell.ColorDefault, tcell.ColorGreen) + aerc.PushSuccess(fmt.Sprintf("Detached %s", path)) return nil } |