Added the ability to restart AGS on monitor connect or awake from sleep. (#432)
* Added the ability to restart AGS on monitor connect or awake from sleep. * Made nix check more robust
This commit is contained in:
@@ -34,6 +34,20 @@ export const BarGeneral = (): Scrollable<Child, Attribute> => {
|
||||
themeOnly: false,
|
||||
},
|
||||
}),
|
||||
Option({
|
||||
opt: options.hyprpanel.restartAgs,
|
||||
title: 'Restart Hyprpanel On Wake Or Monitor Connection',
|
||||
subtitle:
|
||||
'WARNING: Disabling this will stop the bar from appearing on monitors after waking \n' +
|
||||
'from sleep or when a new monitor is connected.',
|
||||
type: 'boolean',
|
||||
}),
|
||||
Option({
|
||||
opt: options.hyprpanel.restartCommand,
|
||||
title: 'Restart Command',
|
||||
subtitle: 'Command to execute when a restart is initiated.',
|
||||
type: 'string',
|
||||
}),
|
||||
Option({
|
||||
opt: options.terminal,
|
||||
title: 'Terminal',
|
||||
|
||||
Reference in New Issue
Block a user