mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
feat(xbar): brew-services: add restart option for running services
This commit is contained in:
@@ -195,6 +195,11 @@ module Brew
|
|||||||
terminal: false, refresh: true, shell: brew_path,
|
terminal: false, refresh: true, shell: brew_path,
|
||||||
param1: 'services', param2: 'stop', param3: service.name
|
param1: 'services', param2: 'stop', param3: service.name
|
||||||
)
|
)
|
||||||
|
printer.item(
|
||||||
|
'Restart',
|
||||||
|
terminal: false, refresh: true, shell: brew_path,
|
||||||
|
param1: 'services', param2: 'restart', param3: service.name
|
||||||
|
)
|
||||||
else
|
else
|
||||||
printer.item(
|
printer.item(
|
||||||
'Start',
|
'Start',
|
||||||
|
|||||||
Reference in New Issue
Block a user