mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Merge branch 'panel-wayland-check' of https://github.com/codelif/kitty
This commit is contained in:
commit
bbaf2d9288
1 changed files with 2 additions and 2 deletions
|
|
@ -158,8 +158,8 @@ def layer_shell_config(opts: PanelCLIOptions) -> LayerShellConfig:
|
|||
|
||||
def main(sys_args: List[str]) -> None:
|
||||
global args
|
||||
if is_macos or not os.environ.get('DISPLAY'):
|
||||
raise SystemExit('Currently the panel kitten is supported only on X11 desktops')
|
||||
if is_macos or not (os.environ.get('DISPLAY') or os.environ.get('WAYLAND_DISPLAY')):
|
||||
raise SystemExit('Currently the panel kitten is supported only on X11 or Wayland desktops')
|
||||
args, items = parse_panel_args(sys_args[1:])
|
||||
if not items:
|
||||
raise SystemExit('You must specify the program to run')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue