Commit aa008de8 authored by Kirill Unitsaev's avatar Kirill Unitsaev

hyprland/module show: display status with icon and color

parent f3914854
...@@ -279,7 +279,7 @@ func HyprlandModuleShowCommand(ctx context.Context, cmd *cli.Command) error { ...@@ -279,7 +279,7 @@ func HyprlandModuleShowCommand(ctx context.Context, cmd *cli.Command) error {
} }
fmt.Printf("Модуль: %s\n", info.Name) fmt.Printf("Модуль: %s\n", info.Name)
fmt.Printf("Статус: %s\n", info.Status.Label) fmt.Printf("Статус: %s\n", info.Status.Color("%s %s", info.Status.Symbol, info.Status.Label))
fmt.Printf("Путь: %s\n", info.Path) fmt.Printf("Путь: %s\n", info.Path)
fmt.Printf("Путь в конфиге: %s\n", info.ConfPath) fmt.Printf("Путь в конфиге: %s\n", info.ConfPath)
fmt.Printf("Строка в конфиге: %d\n", info.LineNumber) fmt.Printf("Строка в конфиге: %d\n", info.LineNumber)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment