#
# General settings
#
# the path to the widget directory
#setWidgetPath ""
# the color of the bar
setBarColor #252B3E
# the color of the text displayed in the bar
setTextColor #9F97A3
# the font to be used in all widgets, use "font families"
# to get a list of valid font
setFontName "Terminus"
# the fontsize
setFontSize 10
# should the font be bold? Valid options: bold / normal
setFontBold bold
# color when hovering over certain objects
setHoverColor #293262
# color for clicked (marked) widgets
setClickedColor #37538F
# the width of the bar in pixels
setWidth 1400
# the height of the bar in pixels
setHeight 20
# the X position of the bar on the screen
setXposition 275
# the Y position of the bar on the screen
setYposition 1030
# alternativly to using setYposition, setXposition
# and setWidth you may use positionBar top/bottom
# which will position the bar along the top or the
# bottom of the screen, covering the total width.
positionBar bottom
# widget alignment, might be left or right
alignWidgets right
# set loglevel for application, from sorted from least to most verbose.
# defaults to "DEBUG" if not specified
# "FATAL"
# "ERROR"
# "WARNING"
# "INFO"
# "DEBUG"
# "TRACE"
setLogLevel "WARNING"
#
# Widgets
#
# Widgets will be loaded in the order specified here and will
# appear according to alignWidgets in the bar. The first parameter is the widget to load,
# The second parameter is the name you want to identify this certain widget by.
# You can use this identifier to add events to the widgets, which can be used to execute commands.
# The third parameter is the update interval in seconds. If the interval is > 0, updates
# will be made every $interval seconds. The fourth parameter is a list of options and
# corresponding values, the options are explained in the comments.
#
# addWidgetToBar <widgetName> <name> <updateInterval> <optionList>
#
# You might have notices, that not all options of the widgets are supplied
# here by default. This is due to the widget creation code, that will use some
# of the global settings (like setBarColor, setTextColor, setHoverColor and setClickedColor)
# to create the widgets, so that your theme looks consistent. You may still change the colors
# on a per widget basis though.
#
# Notification on customizable events
#
# -fg / -foreground - the text color
# -bg / -background - the background color
# -notifyAt - the expression which will be evaluated in order to
# determine if a notification should be send. If the expression
# is not true any more, image and text will be removed from the
# notification area
# -image - the image to be displayed in the widget once an event occurs
# -imageDimensions - the dimension of the image, will be resized
# must be given in the form heightXwidth, eg 10X10
# -text - the text to be displayed in the widget once an event occurs
# will be overridden by the -image option
# -width - the width of the widget (use with caution)
# -height - the height of the widget (use with caution)
#
#addWidgetToBar notify notify1 1 -image "/home/user/someimage" -imageDimensions 10X10 -notifyAt {[file exists "/home/user/somefile"]}
#addText " | " "red"
# Displays the battery status.
#
# -fg / -foreground - the text color
# -bg / -background - the background color
# -warnAt - will warn the user if N percent battery charge is reached
# -battery - specify the battery, e.g. BAT0, only use this parameter if automatic determination fails!
# -lc / -lowColor - the color to be used when battery is low
# -mc / -mediumColor - the color to be used when battery is neither low nor high
# -hc / -highColor - the color to be used when battery is high
addWidgetToBar battery battery1 1 -warnAt 5 -lc "red" -hc "green" -mc "yellow" -notifyFullyCharged 1 -showChargeStatus 1 -batteryChargeSymbolColor white
addText " | " "red"
# Displays the time
#
# -fg / -foreground - the text color
# -bg / -background - the background color
# -format - the time format displayed in the widget
# -hovercolor - calendar widget, hovercolor for days
# -clickedcolor - calendar widget, clickedcolor
# -todaycolor - calendar widget, the color that will mark the current day
# -cachedate - if set to 1, the calendar will remember month and year you
# navigated to.
# -command - when the calendar is opened, the output of -command will be
# used instead of the native widget, e.g:
#
# addWidgetToBar clock 1 -command [list exec cal]
#
addWidgetToBar clock clock1 1 -cachedate 1 -ical 1
addText " | " "red"
# Displays network information
#
# -fg / -foreground - the text color
# -bg / -background - the background color
# -device - the device to be monitored
# -updateinterval - the interval in which the
# widget receives updates (needs to be the same
# as the update interval specified as second parameter,
# in order to give correct results)
#
addWidgetToBar network network1 1 -device wlan0 -updateinterval 1 -additionalDevices [list wlan0]
addText " | " "red"
# Displays memory and swap information
#
# -fg / -foreground - the text color
# -bg / -background - the backgroundcolor
# -bc - status bar character that represents 10% memory
# -gc / -graphicscolor - the color of the graph
# -showwhat - if showwhat is 0, used memory will be displayed,
# if showwhat is 1, free memory will be displayed
# -noswap - will prevent the swappart of the widget to be diplayed (memory only)
# setting this to 1 will disable swap
#
addWidgetToBar memory memory1 5 -gc #6D91BE -bc | -showwhat 0
addText " | " "red"
# Cpu information
#
# Use an interval >= 1 for this widget!
#
# -fg / -foreground - the text color
# -bg / -background - the background color
# -lc / -loadcolor - the color of the graph displaying the current load
# -device - the device to be monitored by the widget
# -width - the width of the widget (use with caution)
# -height - the height of the widget (use with caution)
#
# The following options can be left out (meaning that the wigdets will not
# be drawn (same as setting them to 0) or they can be set to 1 in which case
# they will be drawn.
#
# -showTemperature - shows temperature
# -showMhz - show cpu mhz
# -showCache - show cpu cache
# -showLoad - show cpu load
# -showTotalLoad - if this option is enabled, the load displayed by the widget
# represents the load of the complete system (all cpus), rather than
# the load of the device specified by the -device option.
#
addWidgetToBar cpu cpu1 1 -loadcolor #946F69 -device 0 -showTemperature 1 -showMhz 1 -useSpeedstep 1
#addEventTo cpu1 <Button-1> exec /usr/bin/urxvt -e htop &
# Display any text in a widget, for simple stuff use the addText convenience
# procedure, which creates a pre defined text widget.
#
# -fg / -foreground - the textcolor
# -bg / -background - the background color
# -text - the text to be displayed
# -width - the width of the widget in pixels
# -textvariable - a variable whose text will be displayed in the widget,
# if the variable gets changed, the text will be updated
# -command - a command whose output will be directed to the widget
# every $interval seconds
#
#addWidgetToBar text text1 1 -command [list exec uptime]
#addWidgetToBar player player1 1
#addText " | " "red"
addWidgetToBar i3_workspace i3_workspace1 0 -focuscolor #946F69 -urgentcolor #877895 -rolloverbackgroundcolor white -rolloverfontcolor black -side left