modulev1

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Position_name = map[int32]string{
		0: "POSITION_UNSPECIFIED",
		1: "POSITION_TOP_LEFT",
		2: "POSITION_TOP",
		3: "POSITION_TOP_RIGHT",
		4: "POSITION_RIGHT",
		5: "POSITION_BOTTOM_RIGHT",
		6: "POSITION_BOTTOM",
		7: "POSITION_BOTTOM_LEFT",
		8: "POSITION_LEFT",
		9: "POSITION_CENTER",
	}
	Position_value = map[string]int32{
		"POSITION_UNSPECIFIED":  0,
		"POSITION_TOP_LEFT":     1,
		"POSITION_TOP":          2,
		"POSITION_TOP_RIGHT":    3,
		"POSITION_RIGHT":        4,
		"POSITION_BOTTOM_RIGHT": 5,
		"POSITION_BOTTOM":       6,
		"POSITION_BOTTOM_LEFT":  7,
		"POSITION_LEFT":         8,
		"POSITION_CENTER":       9,
	}
)

Enum value maps for Position.

View Source
var (
	Systray_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_PASSIVE",
		2: "STATUS_ACTIVE",
		3: "STATUS_NEEDS_ATTENTION",
	}
	Systray_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED":     0,
		"STATUS_PASSIVE":         1,
		"STATUS_ACTIVE":          2,
		"STATUS_NEEDS_ATTENTION": 3,
	}
)

Enum value maps for Systray_Status.

View Source
var File_hyprpanel_module_v1_module_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Audio

type Audio struct {
	IconSize     uint32 `protobuf:"varint,1,opt,name=icon_size,json=iconSize,proto3" json:"icon_size,omitempty"`             // size in pixels for panel icon.
	IconSymbolic bool   `protobuf:"varint,2,opt,name=icon_symbolic,json=iconSymbolic,proto3" json:"icon_symbolic,omitempty"` // display symbolic or coloured icon in panel.
	CommandMixer string `protobuf:"bytes,3,opt,name=command_mixer,json=commandMixer,proto3" json:"command_mixer,omitempty"`  // command to execute on mixer button.
	// contains filtered or unexported fields
}

func (*Audio) Descriptor deprecated

func (*Audio) Descriptor() ([]byte, []int)

Deprecated: Use Audio.ProtoReflect.Descriptor instead.

func (*Audio) GetCommandMixer

func (x *Audio) GetCommandMixer() string

func (*Audio) GetIconSize

func (x *Audio) GetIconSize() uint32

func (*Audio) GetIconSymbolic

func (x *Audio) GetIconSymbolic() bool

func (*Audio) ProtoMessage

func (*Audio) ProtoMessage()

func (*Audio) ProtoReflect

func (x *Audio) ProtoReflect() protoreflect.Message

func (*Audio) Reset

func (x *Audio) Reset()

func (*Audio) String

func (x *Audio) String() string

type Clock

type Clock struct {
	TimeFormat        string   `protobuf:"bytes,1,opt,name=time_format,json=timeFormat,proto3" json:"time_format,omitempty"`                        // Go time layout string for panel time display formatting, see https://pkg.go.dev/time#pkg-constants for details.
	DateFormat        string   `protobuf:"bytes,2,opt,name=date_format,json=dateFormat,proto3" json:"date_format,omitempty"`                        // Go time layout string for panel date display formatting, see https://pkg.go.dev/time#pkg-constants for details.
	TooltipTimeFormat string   `protobuf:"bytes,3,opt,name=tooltip_time_format,json=tooltipTimeFormat,proto3" json:"tooltip_time_format,omitempty"` // Go time layout string for tooltip time display formatting, see https://pkg.go.dev/time#pkg-constants for details.
	TooltipDateFormat string   `protobuf:"bytes,4,opt,name=tooltip_date_format,json=tooltipDateFormat,proto3" json:"tooltip_date_format,omitempty"` // Go time layout string for tooltip time display formatting, see https://pkg.go.dev/time#pkg-constants for details.
	AdditionalRegions []string `protobuf:"bytes,5,rep,name=additional_regions,json=additionalRegions,proto3" json:"additional_regions,omitempty"`   // list of addtional regions to display in the tooltip.
	// contains filtered or unexported fields
}

func (*Clock) Descriptor deprecated

func (*Clock) Descriptor() ([]byte, []int)

Deprecated: Use Clock.ProtoReflect.Descriptor instead.

func (*Clock) GetAdditionalRegions

func (x *Clock) GetAdditionalRegions() []string

func (*Clock) GetDateFormat

func (x *Clock) GetDateFormat() string

func (*Clock) GetTimeFormat

func (x *Clock) GetTimeFormat() string

func (*Clock) GetTooltipDateFormat

func (x *Clock) GetTooltipDateFormat() string

func (*Clock) GetTooltipTimeFormat

func (x *Clock) GetTooltipTimeFormat() string

func (*Clock) ProtoMessage

func (*Clock) ProtoMessage()

func (*Clock) ProtoReflect

func (x *Clock) ProtoReflect() protoreflect.Message

func (*Clock) Reset

func (x *Clock) Reset()

func (*Clock) String

func (x *Clock) String() string

type Hud

type Hud struct {
	NotificationIconSize uint32               `protobuf:"varint,1,opt,name=notification_icon_size,json=notificationIconSize,proto3" json:"notification_icon_size,omitempty"` //size in pixels for icons in notifications.
	Timeout              *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`                                                          // delay before notifications are hidden (format: "7s").
	Position             Position             `protobuf:"varint,3,opt,name=position,proto3,enum=hyprpanel.module.v1.Position" json:"position,omitempty"`                     // screen position to display notifications.
	Margin               uint32               `protobuf:"varint,4,opt,name=margin,proto3" json:"margin,omitempty"`                                                           // space in pixels between notifications.
	// contains filtered or unexported fields
}

func (*Hud) Descriptor deprecated

func (*Hud) Descriptor() ([]byte, []int)

Deprecated: Use Hud.ProtoReflect.Descriptor instead.

func (*Hud) GetMargin

func (x *Hud) GetMargin() uint32

func (*Hud) GetNotificationIconSize

func (x *Hud) GetNotificationIconSize() uint32

func (*Hud) GetPosition

func (x *Hud) GetPosition() Position

func (*Hud) GetTimeout

func (x *Hud) GetTimeout() *durationpb.Duration

func (*Hud) ProtoMessage

func (*Hud) ProtoMessage()

func (*Hud) ProtoReflect

func (x *Hud) ProtoReflect() protoreflect.Message

func (*Hud) Reset

func (x *Hud) Reset()

func (*Hud) String

func (x *Hud) String() string

type Module

type Module struct {

	// Types that are assignable to Kind:
	//
	//	*Module_Pager
	//	*Module_Taskbar
	//	*Module_Systray
	//	*Module_Notifications
	//	*Module_Hud
	//	*Module_Audio
	//	*Module_Power
	//	*Module_Clock
	//	*Module_Session
	//	*Module_Spacer
	Kind isModule_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*Module) Descriptor deprecated

func (*Module) Descriptor() ([]byte, []int)

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetAudio

func (x *Module) GetAudio() *Audio

func (*Module) GetClock

func (x *Module) GetClock() *Clock

func (*Module) GetHud

func (x *Module) GetHud() *Hud

func (*Module) GetKind

func (m *Module) GetKind() isModule_Kind

func (*Module) GetNotifications

func (x *Module) GetNotifications() *Notifications

func (*Module) GetPager

func (x *Module) GetPager() *Pager

func (*Module) GetPower

func (x *Module) GetPower() *Power

func (*Module) GetSession

func (x *Module) GetSession() *Session

func (*Module) GetSpacer

func (x *Module) GetSpacer() *Spacer

func (*Module) GetSystray

func (x *Module) GetSystray() *Systray

func (*Module) GetTaskbar

func (x *Module) GetTaskbar() *Taskbar

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

func (x *Module) ProtoReflect() protoreflect.Message

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

type Module_Audio

type Module_Audio struct {
	Audio *Audio `protobuf:"bytes,6,opt,name=audio,proto3,oneof"`
}

type Module_Clock

type Module_Clock struct {
	Clock *Clock `protobuf:"bytes,8,opt,name=clock,proto3,oneof"`
}

type Module_Hud

type Module_Hud struct {
	Hud *Hud `protobuf:"bytes,5,opt,name=hud,proto3,oneof"`
}

type Module_Notifications

type Module_Notifications struct {
	Notifications *Notifications `protobuf:"bytes,4,opt,name=notifications,proto3,oneof"`
}

type Module_Pager

type Module_Pager struct {
	Pager *Pager `protobuf:"bytes,1,opt,name=pager,proto3,oneof"`
}

type Module_Power

type Module_Power struct {
	Power *Power `protobuf:"bytes,7,opt,name=power,proto3,oneof"`
}

type Module_Session

type Module_Session struct {
	Session *Session `protobuf:"bytes,9,opt,name=session,proto3,oneof"`
}

type Module_Spacer

type Module_Spacer struct {
	Spacer *Spacer `protobuf:"bytes,10,opt,name=spacer,proto3,oneof"`
}

type Module_Systray

type Module_Systray struct {
	Systray *Systray `protobuf:"bytes,3,opt,name=systray,proto3,oneof"`
}

type Module_Taskbar

type Module_Taskbar struct {
	Taskbar *Taskbar `protobuf:"bytes,2,opt,name=taskbar,proto3,oneof"`
}

type Notifications

type Notifications struct {
	IconSize             uint32               `protobuf:"varint,1,opt,name=icon_size,json=iconSize,proto3" json:"icon_size,omitempty"`                                       // size in pixels for the panel notification icon. Currently unused as notification history is unimplemented.
	NotificationIconSize uint32               `protobuf:"varint,2,opt,name=notification_icon_size,json=notificationIconSize,proto3" json:"notification_icon_size,omitempty"` //size in pixels for icons in notifications.
	DefaultTimeout       *durationpb.Duration `protobuf:"bytes,3,opt,name=default_timeout,json=defaultTimeout,proto3" json:"default_timeout,omitempty"`                      // delay before notifications are hidden, if the notification does not specify a timemout (format: "7s").
	Position             Position             `protobuf:"varint,4,opt,name=position,proto3,enum=hyprpanel.module.v1.Position" json:"position,omitempty"`                     // screen position to display notifications.
	Margin               uint32               `protobuf:"varint,5,opt,name=margin,proto3" json:"margin,omitempty"`                                                           // space in pixels between notifications.
	Persistent           []string             `protobuf:"bytes,6,rep,name=persistent,proto3" json:"persistent,omitempty"`                                                    // list of application names to retain notification history for. Currently unused as notification history is unimplemented.
	// contains filtered or unexported fields
}

func (*Notifications) Descriptor deprecated

func (*Notifications) Descriptor() ([]byte, []int)

Deprecated: Use Notifications.ProtoReflect.Descriptor instead.

func (*Notifications) GetDefaultTimeout

func (x *Notifications) GetDefaultTimeout() *durationpb.Duration

func (*Notifications) GetIconSize

func (x *Notifications) GetIconSize() uint32

func (*Notifications) GetMargin

func (x *Notifications) GetMargin() uint32

func (*Notifications) GetNotificationIconSize

func (x *Notifications) GetNotificationIconSize() uint32

func (*Notifications) GetPersistent

func (x *Notifications) GetPersistent() []string

func (*Notifications) GetPosition

func (x *Notifications) GetPosition() Position

func (*Notifications) ProtoMessage

func (*Notifications) ProtoMessage()

func (*Notifications) ProtoReflect

func (x *Notifications) ProtoReflect() protoreflect.Message

func (*Notifications) Reset

func (x *Notifications) Reset()

func (*Notifications) String

func (x *Notifications) String() string

type Pager

type Pager struct {
	IconSize              uint32 `protobuf:"varint,1,opt,name=icon_size,json=iconSize,proto3" json:"icon_size,omitempty"`                                       // size in pixels for pager window preview application icons.
	ActiveMonitorOnly     bool   `protobuf:"varint,2,opt,name=active_monitor_only,json=activeMonitorOnly,proto3" json:"active_monitor_only,omitempty"`          // show only workspaces from the monitor the panel is running on.
	ScrollWrapWorkspaces  bool   `protobuf:"varint,3,opt,name=scroll_wrap_workspaces,json=scrollWrapWorkspaces,proto3" json:"scroll_wrap_workspaces,omitempty"` // when switching workspaces via mouse scroll, wrap to start/end on over-scroll.
	ScrollIncludeInactive bool   ``                                                                                                                             // when scrolling workspaces, include inactive workspaces
	/* 127-byte string literal not displayed */
	EnableWorkspaceNames bool     `protobuf:"varint,5,opt,name=enable_workspace_names,json=enableWorkspaceNames,proto3" json:"enable_workspace_names,omitempty"` // display workspace name labels.
	Pinned               []int32  `protobuf:"varint,6,rep,packed,name=pinned,proto3" json:"pinned,omitempty"`                                                    // list of workspace IDs that will always be included in the pager, regardless of activation state.
	IgnoreWindows        []string `protobuf:"bytes,7,rep,name=ignore_windows,json=ignoreWindows,proto3" json:"ignore_windows,omitempty"`                         // list of window classes that will be excluded from preview on the pager.
	// contains filtered or unexported fields
}

func (*Pager) Descriptor deprecated

func (*Pager) Descriptor() ([]byte, []int)

Deprecated: Use Pager.ProtoReflect.Descriptor instead.

func (*Pager) GetActiveMonitorOnly

func (x *Pager) GetActiveMonitorOnly() bool

func (*Pager) GetEnableWorkspaceNames

func (x *Pager) GetEnableWorkspaceNames() bool

func (*Pager) GetIconSize

func (x *Pager) GetIconSize() uint32

func (*Pager) GetIgnoreWindows

func (x *Pager) GetIgnoreWindows() []string

func (*Pager) GetPinned

func (x *Pager) GetPinned() []int32

func (*Pager) GetScrollIncludeInactive

func (x *Pager) GetScrollIncludeInactive() bool

func (*Pager) GetScrollWrapWorkspaces

func (x *Pager) GetScrollWrapWorkspaces() bool

func (*Pager) ProtoMessage

func (*Pager) ProtoMessage()

func (*Pager) ProtoReflect

func (x *Pager) ProtoReflect() protoreflect.Message

func (*Pager) Reset

func (x *Pager) Reset()

func (*Pager) String

func (x *Pager) String() string

type Position

type Position int32
const (
	Position_POSITION_UNSPECIFIED  Position = 0
	Position_POSITION_TOP_LEFT     Position = 1
	Position_POSITION_TOP          Position = 2
	Position_POSITION_TOP_RIGHT    Position = 3
	Position_POSITION_RIGHT        Position = 4
	Position_POSITION_BOTTOM_RIGHT Position = 5
	Position_POSITION_BOTTOM       Position = 6
	Position_POSITION_BOTTOM_LEFT  Position = 7
	Position_POSITION_LEFT         Position = 8
	Position_POSITION_CENTER       Position = 9
)

func (Position) Descriptor

func (Position) Descriptor() protoreflect.EnumDescriptor

func (Position) Enum

func (x Position) Enum() *Position

func (Position) EnumDescriptor deprecated

func (Position) EnumDescriptor() ([]byte, []int)

Deprecated: Use Position.Descriptor instead.

func (Position) Number

func (x Position) Number() protoreflect.EnumNumber

func (Position) String

func (x Position) String() string

func (Position) Type

type Power

type Power struct {
	IconSize     uint32 `protobuf:"varint,1,opt,name=icon_size,json=iconSize,proto3" json:"icon_size,omitempty"`             // size in pixels for panel icon.
	IconSymbolic bool   `protobuf:"varint,2,opt,name=icon_symbolic,json=iconSymbolic,proto3" json:"icon_symbolic,omitempty"` // display symbolic or coloured icon in panel.
	// contains filtered or unexported fields
}

func (*Power) Descriptor deprecated

func (*Power) Descriptor() ([]byte, []int)

Deprecated: Use Power.ProtoReflect.Descriptor instead.

func (*Power) GetIconSize

func (x *Power) GetIconSize() uint32

func (*Power) GetIconSymbolic

func (x *Power) GetIconSymbolic() bool

func (*Power) ProtoMessage

func (*Power) ProtoMessage()

func (*Power) ProtoReflect

func (x *Power) ProtoReflect() protoreflect.Message

func (*Power) Reset

func (x *Power) Reset()

func (*Power) String

func (x *Power) String() string

type Session

type Session struct {
	IconSize            uint32 `protobuf:"varint,1,opt,name=icon_size,json=iconSize,proto3" json:"icon_size,omitempty"`                                    // size in pixels for panel icon.
	IconSymbolic        bool   `protobuf:"varint,2,opt,name=icon_symbolic,json=iconSymbolic,proto3" json:"icon_symbolic,omitempty"`                        // display symbolic or coloured icon in panel.
	OverlayIconSize     uint32 `protobuf:"varint,3,opt,name=overlay_icon_size,json=overlayIconSize,proto3" json:"overlay_icon_size,omitempty"`             // size in pixels for overlay popup icons.
	OverlayIconSymbolic bool   `protobuf:"varint,4,opt,name=overlay_icon_symbolic,json=overlayIconSymbolic,proto3" json:"overlay_icon_symbolic,omitempty"` // display symbolic or coloured icons in overlay popup.
	CommandLogout       string `protobuf:"bytes,5,opt,name=command_logout,json=commandLogout,proto3" json:"command_logout,omitempty"`                      // command that will be executed for logout action, empty disabled the button.
	CommandReboot       string `protobuf:"bytes,6,opt,name=command_reboot,json=commandReboot,proto3" json:"command_reboot,omitempty"`                      // command that will be executed for reboot action, empty disabled the button.
	CommandSuspend      string `protobuf:"bytes,7,opt,name=command_suspend,json=commandSuspend,proto3" json:"command_suspend,omitempty"`                   // command that will be executed for suspend action, empty disabled the button.
	CommandShutdown     string `protobuf:"bytes,8,opt,name=command_shutdown,json=commandShutdown,proto3" json:"command_shutdown,omitempty"`                // command that will be executed for shutdown action, empty disabled the button.
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

func (*Session) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetCommandLogout

func (x *Session) GetCommandLogout() string

func (*Session) GetCommandReboot

func (x *Session) GetCommandReboot() string

func (*Session) GetCommandShutdown

func (x *Session) GetCommandShutdown() string

func (*Session) GetCommandSuspend

func (x *Session) GetCommandSuspend() string

func (*Session) GetIconSize

func (x *Session) GetIconSize() uint32

func (*Session) GetIconSymbolic

func (x *Session) GetIconSymbolic() bool

func (*Session) GetOverlayIconSize

func (x *Session) GetOverlayIconSize() uint32

func (*Session) GetOverlayIconSymbolic

func (x *Session) GetOverlayIconSymbolic() bool

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

func (x *Session) ProtoReflect() protoreflect.Message

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type Spacer

type Spacer struct {
	Size   uint32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`     // size in pixels for this spacer.
	Expand bool   `protobuf:"varint,2,opt,name=expand,proto3" json:"expand,omitempty"` // expand to fill available space.
	// contains filtered or unexported fields
}

func (*Spacer) Descriptor deprecated

func (*Spacer) Descriptor() ([]byte, []int)

Deprecated: Use Spacer.ProtoReflect.Descriptor instead.

func (*Spacer) GetExpand

func (x *Spacer) GetExpand() bool

func (*Spacer) GetSize

func (x *Spacer) GetSize() uint32

func (*Spacer) ProtoMessage

func (*Spacer) ProtoMessage()

func (*Spacer) ProtoReflect

func (x *Spacer) ProtoReflect() protoreflect.Message

func (*Spacer) Reset

func (x *Spacer) Reset()

func (*Spacer) String

func (x *Spacer) String() string

type Systray

type Systray struct {
	IconSize         uint32           `protobuf:"varint,1,opt,name=icon_size,json=iconSize,proto3" json:"icon_size,omitempty"`               // size in pixels for icons in the systray.
	MenuIconSize     uint32           `protobuf:"varint,2,opt,name=menu_icon_size,json=menuIconSize,proto3" json:"menu_icon_size,omitempty"` // size in pixels for menu icons. Currently unused because GNOME developers hate user/developer choice.
	AutoHideStatuses []Systray_Status ``                                                                                                     // list of statuses that should be auto-hidden.
	/* 159-byte string literal not displayed */
	AutoHideDelay *durationpb.Duration `protobuf:"bytes,4,opt,name=auto_hide_delay,json=autoHideDelay,proto3" json:"auto_hide_delay,omitempty"` // delay before new (or status-changed) icons are auto-hidden (format "4s", zero to disable).
	Pinned        []string             `protobuf:"bytes,6,rep,name=pinned,proto3" json:"pinned,omitempty"`                                      // list of SNI IDs that should never be hidden. There's no convention for ID values - if you want to collect IDs, start hyprpanel with LOG_LEVEL_DEBUG and look for SNI registration events.
	Modules       []*SystrayModule     `protobuf:"bytes,7,rep,name=modules,proto3" json:"modules,omitempty"`                                    // list of modules to dislpay in systray. Currently supported modules: ["audio", "power"]
	// contains filtered or unexported fields
}

func (*Systray) Descriptor deprecated

func (*Systray) Descriptor() ([]byte, []int)

Deprecated: Use Systray.ProtoReflect.Descriptor instead.

func (*Systray) GetAutoHideDelay

func (x *Systray) GetAutoHideDelay() *durationpb.Duration

func (*Systray) GetAutoHideStatuses

func (x *Systray) GetAutoHideStatuses() []Systray_Status

func (*Systray) GetIconSize

func (x *Systray) GetIconSize() uint32

func (*Systray) GetMenuIconSize

func (x *Systray) GetMenuIconSize() uint32

func (*Systray) GetModules

func (x *Systray) GetModules() []*SystrayModule

func (*Systray) GetPinned

func (x *Systray) GetPinned() []string

func (*Systray) ProtoMessage

func (*Systray) ProtoMessage()

func (*Systray) ProtoReflect

func (x *Systray) ProtoReflect() protoreflect.Message

func (*Systray) Reset

func (x *Systray) Reset()

func (*Systray) String

func (x *Systray) String() string

type SystrayModule

type SystrayModule struct {

	// Types that are assignable to Kind:
	//
	//	*SystrayModule_Audio
	//	*SystrayModule_Power
	Kind isSystrayModule_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*SystrayModule) Descriptor deprecated

func (*SystrayModule) Descriptor() ([]byte, []int)

Deprecated: Use SystrayModule.ProtoReflect.Descriptor instead.

func (*SystrayModule) GetAudio

func (x *SystrayModule) GetAudio() *Audio

func (*SystrayModule) GetKind

func (m *SystrayModule) GetKind() isSystrayModule_Kind

func (*SystrayModule) GetPower

func (x *SystrayModule) GetPower() *Power

func (*SystrayModule) ProtoMessage

func (*SystrayModule) ProtoMessage()

func (*SystrayModule) ProtoReflect

func (x *SystrayModule) ProtoReflect() protoreflect.Message

func (*SystrayModule) Reset

func (x *SystrayModule) Reset()

func (*SystrayModule) String

func (x *SystrayModule) String() string

type SystrayModule_Audio

type SystrayModule_Audio struct {
	Audio *Audio `protobuf:"bytes,1,opt,name=audio,proto3,oneof"`
}

type SystrayModule_Power

type SystrayModule_Power struct {
	Power *Power `protobuf:"bytes,2,opt,name=power,proto3,oneof"`
}

type Systray_Status

type Systray_Status int32
const (
	Systray_STATUS_UNSPECIFIED     Systray_Status = 0
	Systray_STATUS_PASSIVE         Systray_Status = 1
	Systray_STATUS_ACTIVE          Systray_Status = 2
	Systray_STATUS_NEEDS_ATTENTION Systray_Status = 3
)

func (Systray_Status) Descriptor

func (Systray_Status) Enum

func (x Systray_Status) Enum() *Systray_Status

func (Systray_Status) EnumDescriptor deprecated

func (Systray_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Systray_Status.Descriptor instead.

func (Systray_Status) Number

func (Systray_Status) String

func (x Systray_Status) String() string

func (Systray_Status) Type

type Taskbar

type Taskbar struct {
	IconSize            uint32   `protobuf:"varint,1,opt,name=icon_size,json=iconSize,proto3" json:"icon_size,omitempty"`                                    // size in pixels for task icons.
	ActiveWorkspaceOnly bool     `protobuf:"varint,2,opt,name=active_workspace_only,json=activeWorkspaceOnly,proto3" json:"active_workspace_only,omitempty"` // show only tasks from the current workspace.
	ActiveMonitorOnly   bool     `protobuf:"varint,3,opt,name=active_monitor_only,json=activeMonitorOnly,proto3" json:"active_monitor_only,omitempty"`       // show only tasks from the monitor the panel is running on.
	GroupTasks          bool     `protobuf:"varint,4,opt,name=group_tasks,json=groupTasks,proto3" json:"group_tasks,omitempty"`                              // group tasks for the same application into a single icon. Scroll wheel cycles tasks.
	HideIndicators      bool     `protobuf:"varint,5,opt,name=hide_indicators,json=hideIndicators,proto3" json:"hide_indicators,omitempty"`                  // if you're not using pinned tasks, you may wish to hide the running task indicators.
	Expand              bool     `protobuf:"varint,6,opt,name=expand,proto3" json:"expand,omitempty"`                                                        // expand this module to fill available space in the panel.
	MaxSize             uint32   `protobuf:"varint,7,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`                                       // maximum size in pixels for this module. Zero means no limit.
	Pinned              []string `protobuf:"bytes,8,rep,name=pinned,proto3" json:"pinned,omitempty"`                                                         // list of window classes that should always be displayed on the taskbar. Allows the taskbar to act as a launcher.
	// contains filtered or unexported fields
}

func (*Taskbar) Descriptor deprecated

func (*Taskbar) Descriptor() ([]byte, []int)

Deprecated: Use Taskbar.ProtoReflect.Descriptor instead.

func (*Taskbar) GetActiveMonitorOnly

func (x *Taskbar) GetActiveMonitorOnly() bool

func (*Taskbar) GetActiveWorkspaceOnly

func (x *Taskbar) GetActiveWorkspaceOnly() bool

func (*Taskbar) GetExpand

func (x *Taskbar) GetExpand() bool

func (*Taskbar) GetGroupTasks

func (x *Taskbar) GetGroupTasks() bool

func (*Taskbar) GetHideIndicators

func (x *Taskbar) GetHideIndicators() bool

func (*Taskbar) GetIconSize

func (x *Taskbar) GetIconSize() uint32

func (*Taskbar) GetMaxSize

func (x *Taskbar) GetMaxSize() uint32

func (*Taskbar) GetPinned

func (x *Taskbar) GetPinned() []string

func (*Taskbar) ProtoMessage

func (*Taskbar) ProtoMessage()

func (*Taskbar) ProtoReflect

func (x *Taskbar) ProtoReflect() protoreflect.Message

func (*Taskbar) Reset

func (x *Taskbar) Reset()

func (*Taskbar) String

func (x *Taskbar) String() string

Jump to

Keyboard shortcuts

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