457 lines
9.5 KiB
Plaintext
457 lines
9.5 KiB
Plaintext
########################################
|
|
## fbpanel configuration file ##
|
|
########################################
|
|
|
|
|
|
# DESCRIPTION
|
|
# Configuration file consists of mandatory 'Global' block that MUST come first,
|
|
# and optionally one or more 'Plugin' block.
|
|
# Lines having '#' as first non-blank char or blank lines are ignored
|
|
# Keywords are not case-sensitive
|
|
# Values are case-sensitive
|
|
# Value of variable is a text from first non-blank char after '='
|
|
# till the last non-blank char. '#' is NOT treated as coment in this context
|
|
|
|
# 'Global' block describes global parameters like position, size and
|
|
# some NETWM settings
|
|
|
|
# Global {
|
|
|
|
# # screen edge
|
|
# # legal values are: left, right, top, bottom
|
|
# edge = bottom
|
|
|
|
# # allignment of a panel
|
|
# # legal values are: left, right, center
|
|
# allign = left
|
|
|
|
# # length of margin (in pixels)
|
|
# # legal values are numbers
|
|
# margin = 0
|
|
|
|
# # widthtype specifies how panel width is calculated
|
|
# # legal values are: request, pixel, percent
|
|
# # request - follow widgets' size requests. can shrink or grow dynamically
|
|
# # pixel - occupy fixed number of pixels, then 'width' variable holds a number
|
|
# # percent - be 'width' precent of an edge.
|
|
# widthType = percent
|
|
|
|
# # numerical value of width (not applicable for 'request' widthtype)
|
|
# # legal values are numbers
|
|
# width = 80
|
|
|
|
# # heighttype specifies how panel height is calculated
|
|
# # legal values are: pixel
|
|
# # pixel - ocupy fixed number of pixels, then 'height' variable holds a number
|
|
# heightType = pixel
|
|
|
|
# # numerical value of height (if applicable)
|
|
# # legal values are numbers
|
|
# height = 28
|
|
|
|
|
|
# # Identify panel window type as dock
|
|
# # legal values are boolean
|
|
# setDockType = true
|
|
|
|
# # Reserve panel's space so that it will not be covered by maximazied windows
|
|
# # legal values are boolean
|
|
# # setPartialStrut = true
|
|
|
|
|
|
# # Transparency stuff:
|
|
# # tintColor is a color to composite on root background given as #RRGGBB or as name
|
|
# # alpha is transparency of the tint color.
|
|
# # transparent = true
|
|
# # tintColor = #FFFFFF
|
|
# or
|
|
# # tintColor = white
|
|
# # alpha = 127
|
|
|
|
# # Autohide
|
|
# # autoHide = false
|
|
# # heightWhenHidden = 2
|
|
|
|
# }
|
|
|
|
|
|
|
|
# 'Plugin' block specifies a plugin to load. It has same syntax for both
|
|
# builtin and external plugins.
|
|
|
|
# First parameter is 'type'. It's mandatory and must come first
|
|
# Legal values are plugin names. Names of builtin plugins are:
|
|
# separator - visual separator
|
|
# wincmd - 'show desktop' button
|
|
# taskbar - lists all opened windows (tasks)
|
|
# launchbar - bar with launch button
|
|
# image - just shows an image
|
|
# dclock - digital clock
|
|
# space - just seize space
|
|
# pager - thumbnailed view of the desktop
|
|
# tray - tray for XEMBED icons (aka docklets)
|
|
|
|
# expand - specifies if plugin can accomodate extra space or not [optional]
|
|
# padding - extra padding around plugin [optional]
|
|
# config {} - block of plugin's private configuration.
|
|
# This part is plugin dependant
|
|
|
|
|
|
#
|
|
# Plugin {
|
|
# type = wincmd
|
|
# config {
|
|
# image = ~/.fbpanel/images/Desktop2.png
|
|
# tooltip = Left click to iconify all windows. Middle click to shade them.
|
|
# }
|
|
# }
|
|
|
|
|
|
Global {
|
|
edge = bottom
|
|
allign = center
|
|
margin = 0
|
|
widthtype = percent
|
|
width = 100
|
|
height = 24
|
|
transparent = false
|
|
tintcolor = ffffff
|
|
alpha = 28
|
|
setdocktype = true
|
|
setpartialstrut = true
|
|
autohide = false
|
|
heightWhenHidden = 2
|
|
roundcorners = false
|
|
roundcornersradius = 7
|
|
layer = none
|
|
MaxElemHeight = 32
|
|
}
|
|
|
|
|
|
|
|
Plugin {
|
|
type = space
|
|
config {
|
|
size = 2
|
|
}
|
|
}
|
|
|
|
|
|
Plugin {
|
|
type = menu
|
|
config {
|
|
IconSize = 22
|
|
#icon = start-here
|
|
image = ~/Icons/tux.png
|
|
systemmenu {
|
|
}
|
|
separator {
|
|
}
|
|
menu {
|
|
name = Computer
|
|
icon = computer
|
|
|
|
item {
|
|
name = Lock Display
|
|
icon = gnome-lockscreen
|
|
action = slock
|
|
}
|
|
separator {
|
|
}
|
|
|
|
item {
|
|
name = logout
|
|
icon = gnome-session-logout
|
|
action = /usr/libexec/fbpanel/xlogout
|
|
}
|
|
|
|
item {
|
|
name = Reboot
|
|
icon = gnome-session-reboot
|
|
action = sudo reboot
|
|
}
|
|
item {
|
|
name = Shutdown
|
|
icon = gnome-session-halt
|
|
action = sudo shutdown -h now
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
Plugin {
|
|
type = space
|
|
config {
|
|
size = 15
|
|
}
|
|
}
|
|
|
|
|
|
Plugin {
|
|
type = launchbar
|
|
config {
|
|
button {
|
|
icon = file-manager
|
|
tooltip = Caja
|
|
action = caja
|
|
}
|
|
|
|
button {
|
|
icon = claws-mail
|
|
tooltip = Claws Mail
|
|
action = claws-mail
|
|
}
|
|
|
|
button {
|
|
image = /opt/google/chrome/product_logo_256.png
|
|
tooltip = Chrome
|
|
action = google-chrome-stable
|
|
}
|
|
|
|
button {
|
|
image = ~/Icons/battle_net.png
|
|
tooltip = Battle.net
|
|
action = "/home/rinaldus/Games/Blizzard/launch"
|
|
}
|
|
|
|
button {
|
|
icon = steam
|
|
tooltip = Steam
|
|
action = steam
|
|
}
|
|
|
|
button {
|
|
Image = ~/Icons/system-monitor.png
|
|
tooltip = System Monitor
|
|
action = mate-system-monitor
|
|
}
|
|
|
|
button {
|
|
Image = ~/Icons/keepassx.png
|
|
tooltip = Личная
|
|
action = keepassx "/home/rinaldus/Seafile/KeepassX/private.kdbx"
|
|
}
|
|
|
|
button {
|
|
Image = ~/Icons/nuclear.png
|
|
tooltip = НИЦ
|
|
action = keepassx "/home/rinaldus/Seafile/KeepassX/nits.kdbx"
|
|
}
|
|
|
|
button {
|
|
Image = ~/Icons/plane.png
|
|
tooltip = Александр
|
|
action = keepassx "/home/rinaldus/Seafile/KeepassX/alexander.kdbx"
|
|
}
|
|
|
|
button {
|
|
icon = terminator
|
|
tooltip = Terminator
|
|
action = terminator
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
#Plugin {
|
|
# type = space
|
|
# config {
|
|
# size = 15
|
|
# }
|
|
#}
|
|
|
|
|
|
#Plugin {
|
|
# type = wincmd
|
|
# config {
|
|
# icon = gnome-fs-desktop
|
|
# tooltip = Left click to iconify all windows. Middle click to shade them.
|
|
# }
|
|
#}
|
|
|
|
|
|
Plugin {
|
|
type = space
|
|
config {
|
|
size = 15
|
|
}
|
|
}
|
|
|
|
Plugin {
|
|
type = pager
|
|
config {
|
|
showwallpaper = true
|
|
}
|
|
}
|
|
|
|
|
|
Plugin {
|
|
type = taskbar
|
|
expand = true
|
|
config {
|
|
ShowIconified = true
|
|
ShowMapped = true
|
|
ShowAllDesks = false
|
|
tooltips = true
|
|
IconsOnly = false
|
|
MaxTaskWidth = 180
|
|
}
|
|
}
|
|
|
|
|
|
Plugin {
|
|
type = space
|
|
config {
|
|
size = 15
|
|
}
|
|
}
|
|
|
|
Plugin {
|
|
type = space
|
|
config {
|
|
size = 10
|
|
}
|
|
}
|
|
|
|
#Plugin {
|
|
# type = mem
|
|
# expand = false
|
|
# padding = 2
|
|
# config {
|
|
# ShowSwap = false
|
|
# }
|
|
#}
|
|
|
|
#Plugin {
|
|
# type = cpu
|
|
# config {
|
|
# Color = green
|
|
# }
|
|
#}
|
|
|
|
Plugin {
|
|
type = net
|
|
expand = false
|
|
padding = 0
|
|
config {
|
|
#interface = ppp0
|
|
interface = ppp0
|
|
# set connection limits to make traffic graph more accurate
|
|
TxLimit = 20
|
|
RxLimit = 190
|
|
TxColor = green
|
|
RxColor = red
|
|
}
|
|
}
|
|
|
|
|
|
Plugin {
|
|
type = space
|
|
config {
|
|
size = 10
|
|
}
|
|
}
|
|
|
|
#plugin {
|
|
# type = volume
|
|
#}
|
|
|
|
#plugin {
|
|
# type = battery
|
|
#}
|
|
|
|
Plugin {
|
|
type = tray
|
|
}
|
|
|
|
Plugin {
|
|
type = space
|
|
config {
|
|
size = 10
|
|
}
|
|
}
|
|
|
|
# Digital Clock
|
|
#Plugin {
|
|
# type = dclock
|
|
# config {
|
|
# ShowSeconds = true
|
|
# HoursView = 24
|
|
# TooltipFmt = %D.%M.%Y %H:%m%:s
|
|
# #Action = xmessage Please define some command &
|
|
# }
|
|
#}
|
|
|
|
# Text Clock
|
|
# ClockFmt: (string) Clock format string. May contain strftime conversion
|
|
# specifications and Pango markup information.
|
|
# TooltipFmt: (string) Tooltip format string.
|
|
# Action: (string) Shell command to execute when clock is clicked.
|
|
# ShowCalendar: (boolean) Show a GTK calendar widget when the clock is
|
|
# clicked. Only valid if Action is unset.
|
|
# ShowTooltip: (boolean) Show tooltip for clock.
|
|
Plugin {
|
|
type = tclock
|
|
config {
|
|
ClockFmt = <b>%a %x %H:%M:%S</b>
|
|
# 2 line view, time in bold above and date below
|
|
# ClockFmt = <span font="Sans 8"><b>%-l:%M</b> %P
%a %B %-e</span>
|
|
TooltipFmt = %A %x
|
|
#Action = xmessage Please define some command &
|
|
ShowCalendar = true
|
|
ShowTooltip = true
|
|
}
|
|
}
|
|
|
|
Plugin {
|
|
type = space
|
|
config {
|
|
size = 5
|
|
}
|
|
}
|
|
|
|
Plugin {
|
|
type = launchbar
|
|
config {
|
|
button {
|
|
icon = gnome-lockscreen
|
|
tooltip = Lock
|
|
action = slock
|
|
}
|
|
}
|
|
|
|
# 'icons' plugin lets you customize window icons.
|
|
# these changes apply to entire desktop
|
|
Plugin {
|
|
type = icons
|
|
config {
|
|
DefaultIcon = /usr/share/fbpanel/images/default.xpm
|
|
application {
|
|
icon = gnome-terminal
|
|
ClassName = XTerm
|
|
}
|
|
application {
|
|
icon = gnome-terminal
|
|
ClassName = mlterm
|
|
}
|
|
application {
|
|
icon = gnome-terminal
|
|
ClassName = URxvt
|
|
}
|
|
application {
|
|
icon = gnome-emacs
|
|
ClassName = Emacs
|
|
}
|
|
application {
|
|
icon = mozilla-firefox
|
|
ClassName = Firefox-bin
|
|
}
|
|
application {
|
|
icon = mozilla-firefox
|
|
ClassName = Firefox
|
|
}
|
|
}
|
|
}
|