commands

package
v0.0.0-...-3836d29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package commands implements swaybar-commander's CLI's commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commander

func Commander() error

Commander runs the swaybar-commander.

func Reload

func Reload() error

Reload requests that all running instances of swaybar-commander reload the config file and restart.

func UpdateBlock

func UpdateBlock(indexOrName string, instance string) error

UpdateBlock requests that all running instances of swaybar-commander update the specified block. If indexOrName can be parsed as a number and is a valid index for the blocks, then the block with that index is updated. Otherwise, the first block with name indexOrName and instance instance is updated.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL