Documentation ¶
Index ¶
- Variables
- type Audio
- func (*Audio) Descriptor() ([]byte, []int)deprecated
- func (x *Audio) GetCommandMixer() string
- func (x *Audio) GetIconSize() uint32
- func (x *Audio) GetIconSymbolic() bool
- func (*Audio) ProtoMessage()
- func (x *Audio) ProtoReflect() protoreflect.Message
- func (x *Audio) Reset()
- func (x *Audio) String() string
- type Clock
- func (*Clock) Descriptor() ([]byte, []int)deprecated
- func (x *Clock) GetAdditionalRegions() []string
- func (x *Clock) GetDateFormat() string
- func (x *Clock) GetTimeFormat() string
- func (x *Clock) GetTooltipDateFormat() string
- func (x *Clock) GetTooltipTimeFormat() string
- func (*Clock) ProtoMessage()
- func (x *Clock) ProtoReflect() protoreflect.Message
- func (x *Clock) Reset()
- func (x *Clock) String() string
- type Hud
- func (*Hud) Descriptor() ([]byte, []int)deprecated
- func (x *Hud) GetMargin() uint32
- func (x *Hud) GetNotificationIconSize() uint32
- func (x *Hud) GetPosition() Position
- func (x *Hud) GetTimeout() *durationpb.Duration
- func (*Hud) ProtoMessage()
- func (x *Hud) ProtoReflect() protoreflect.Message
- func (x *Hud) Reset()
- func (x *Hud) String() string
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetAudio() *Audio
- func (x *Module) GetClock() *Clock
- func (x *Module) GetHud() *Hud
- func (m *Module) GetKind() isModule_Kind
- func (x *Module) GetNotifications() *Notifications
- func (x *Module) GetPager() *Pager
- func (x *Module) GetPower() *Power
- func (x *Module) GetSession() *Session
- func (x *Module) GetSpacer() *Spacer
- func (x *Module) GetSystray() *Systray
- func (x *Module) GetTaskbar() *Taskbar
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type Module_Audio
- type Module_Clock
- type Module_Hud
- type Module_Notifications
- type Module_Pager
- type Module_Power
- type Module_Session
- type Module_Spacer
- type Module_Systray
- type Module_Taskbar
- type Notifications
- func (*Notifications) Descriptor() ([]byte, []int)deprecated
- func (x *Notifications) GetDefaultTimeout() *durationpb.Duration
- func (x *Notifications) GetIconSize() uint32
- func (x *Notifications) GetMargin() uint32
- func (x *Notifications) GetNotificationIconSize() uint32
- func (x *Notifications) GetPersistent() []string
- func (x *Notifications) GetPosition() Position
- func (*Notifications) ProtoMessage()
- func (x *Notifications) ProtoReflect() protoreflect.Message
- func (x *Notifications) Reset()
- func (x *Notifications) String() string
- type Pager
- func (*Pager) Descriptor() ([]byte, []int)deprecated
- func (x *Pager) GetActiveMonitorOnly() bool
- func (x *Pager) GetEnableWorkspaceNames() bool
- func (x *Pager) GetIconSize() uint32
- func (x *Pager) GetIgnoreWindows() []string
- func (x *Pager) GetPinned() []int32
- func (x *Pager) GetScrollIncludeInactive() bool
- func (x *Pager) GetScrollWrapWorkspaces() bool
- func (*Pager) ProtoMessage()
- func (x *Pager) ProtoReflect() protoreflect.Message
- func (x *Pager) Reset()
- func (x *Pager) String() string
- type Position
- type Power
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetCommandLogout() string
- func (x *Session) GetCommandReboot() string
- func (x *Session) GetCommandShutdown() string
- func (x *Session) GetCommandSuspend() string
- func (x *Session) GetIconSize() uint32
- func (x *Session) GetIconSymbolic() bool
- func (x *Session) GetOverlayIconSize() uint32
- func (x *Session) GetOverlayIconSymbolic() bool
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type Spacer
- type Systray
- func (*Systray) Descriptor() ([]byte, []int)deprecated
- func (x *Systray) GetAutoHideDelay() *durationpb.Duration
- func (x *Systray) GetAutoHideStatuses() []Systray_Status
- func (x *Systray) GetIconSize() uint32
- func (x *Systray) GetMenuIconSize() uint32
- func (x *Systray) GetModules() []*SystrayModule
- func (x *Systray) GetPinned() []string
- func (*Systray) ProtoMessage()
- func (x *Systray) ProtoReflect() protoreflect.Message
- func (x *Systray) Reset()
- func (x *Systray) String() string
- type SystrayModule
- func (*SystrayModule) Descriptor() ([]byte, []int)deprecated
- func (x *SystrayModule) GetAudio() *Audio
- func (m *SystrayModule) GetKind() isSystrayModule_Kind
- func (x *SystrayModule) GetPower() *Power
- func (*SystrayModule) ProtoMessage()
- func (x *SystrayModule) ProtoReflect() protoreflect.Message
- func (x *SystrayModule) Reset()
- func (x *SystrayModule) String() string
- type SystrayModule_Audio
- type SystrayModule_Power
- type Systray_Status
- func (Systray_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Systray_Status) Enum() *Systray_Status
- func (Systray_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Systray_Status) Number() protoreflect.EnumNumber
- func (x Systray_Status) String() string
- func (Systray_Status) Type() protoreflect.EnumType
- type Taskbar
- func (*Taskbar) Descriptor() ([]byte, []int)deprecated
- func (x *Taskbar) GetActiveMonitorOnly() bool
- func (x *Taskbar) GetActiveWorkspaceOnly() bool
- func (x *Taskbar) GetExpand() bool
- func (x *Taskbar) GetGroupTasks() bool
- func (x *Taskbar) GetHideIndicators() bool
- func (x *Taskbar) GetIconSize() uint32
- func (x *Taskbar) GetMaxSize() uint32
- func (x *Taskbar) GetPinned() []string
- func (*Taskbar) ProtoMessage()
- func (x *Taskbar) ProtoReflect() protoreflect.Message
- func (x *Taskbar) Reset()
- func (x *Taskbar) String() string
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) GetCommandMixer ¶
func (*Audio) GetIconSize ¶
func (*Audio) GetIconSymbolic ¶
func (*Audio) ProtoMessage ¶
func (*Audio) ProtoMessage()
func (*Audio) ProtoReflect ¶
func (x *Audio) ProtoReflect() protoreflect.Message
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) GetAdditionalRegions ¶
func (*Clock) GetDateFormat ¶
func (*Clock) GetTimeFormat ¶
func (*Clock) GetTooltipDateFormat ¶
func (*Clock) GetTooltipTimeFormat ¶
func (*Clock) ProtoMessage ¶
func (*Clock) ProtoMessage()
func (*Clock) ProtoReflect ¶
func (x *Clock) ProtoReflect() protoreflect.Message
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) GetNotificationIconSize ¶
func (*Hud) GetPosition ¶
func (*Hud) GetTimeout ¶
func (x *Hud) GetTimeout() *durationpb.Duration
func (*Hud) ProtoMessage ¶
func (*Hud) ProtoMessage()
func (*Hud) ProtoReflect ¶
func (x *Hud) ProtoReflect() protoreflect.Message
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) GetNotifications ¶
func (x *Module) GetNotifications() *Notifications
func (*Module) GetSession ¶
func (*Module) GetSystray ¶
func (*Module) GetTaskbar ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
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) GetActiveMonitorOnly ¶
func (*Pager) GetEnableWorkspaceNames ¶
func (*Pager) GetIconSize ¶
func (*Pager) GetIgnoreWindows ¶
func (*Pager) GetScrollIncludeInactive ¶
func (*Pager) GetScrollWrapWorkspaces ¶
func (*Pager) ProtoMessage ¶
func (*Pager) ProtoMessage()
func (*Pager) ProtoReflect ¶
func (x *Pager) ProtoReflect() protoreflect.Message
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) EnumDescriptor
deprecated
func (Position) Number ¶
func (x Position) Number() protoreflect.EnumNumber
func (Position) Type ¶
func (Position) Type() protoreflect.EnumType
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) GetIconSize ¶
func (*Power) GetIconSymbolic ¶
func (*Power) ProtoMessage ¶
func (*Power) ProtoMessage()
func (*Power) ProtoReflect ¶
func (x *Power) ProtoReflect() protoreflect.Message
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) GetCommandLogout ¶
func (*Session) GetCommandReboot ¶
func (*Session) GetCommandShutdown ¶
func (*Session) GetCommandSuspend ¶
func (*Session) GetIconSize ¶
func (*Session) GetIconSymbolic ¶
func (*Session) GetOverlayIconSize ¶
func (*Session) GetOverlayIconSymbolic ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Spacer) ProtoMessage()
func (*Spacer) ProtoReflect ¶
func (x *Spacer) ProtoReflect() protoreflect.Message
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) GetAutoHideDelay ¶
func (x *Systray) GetAutoHideDelay() *durationpb.Duration
func (*Systray) GetAutoHideStatuses ¶
func (x *Systray) GetAutoHideStatuses() []Systray_Status
func (*Systray) GetIconSize ¶
func (*Systray) GetMenuIconSize ¶
func (*Systray) GetModules ¶
func (x *Systray) GetModules() []*SystrayModule
func (*Systray) ProtoMessage ¶
func (*Systray) ProtoMessage()
func (*Systray) ProtoReflect ¶
func (x *Systray) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x Systray_Status) Number() protoreflect.EnumNumber
func (Systray_Status) String ¶
func (x Systray_Status) String() string
func (Systray_Status) Type ¶
func (Systray_Status) Type() protoreflect.EnumType
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) GetActiveMonitorOnly ¶
func (*Taskbar) GetActiveWorkspaceOnly ¶
func (*Taskbar) GetGroupTasks ¶
func (*Taskbar) GetHideIndicators ¶
func (*Taskbar) GetIconSize ¶
func (*Taskbar) GetMaxSize ¶
func (*Taskbar) ProtoMessage ¶
func (*Taskbar) ProtoMessage()
func (*Taskbar) ProtoReflect ¶
func (x *Taskbar) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.