mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:26: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,
|
||||
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
|
||||
printer.item(
|
||||
'Start',
|
||||
|
||||
Reference in New Issue
Block a user