1
Files
wm-helpers/i3status-anyevent.json

239 lines
5.1 KiB
JSON

# Enable "plugin" 1, disable "plugin" 0
{
# default text and background colors
"color" : "#3e78fd",
"background" : "#edeceb",
# Load Average
"la" : 1,
# Memory stats
"mem" : 1,
# Just clock
"clock": {
"enabled" : 1,
# html (actually, pango) color notation
"color" : "#000000"
},
# Battery
"battery": {
"enabled" : 1,
# can be upower or something else to use /sys polling instead of periodic run of upower binary
"driver" : "upower",
# where we can find charge_{now,full} and status files
"sys_dir" : "/sys/class/power_supply/BAT0",
# invoke 'upower --enumerate' and choose one
"upower_device" : "/org/freedesktop/UPower/devices/battery_BAT0"
},
# 0-th core temperature
"cpu_temp": {
"enabled": 1,
"file": "/sys/class/hwmon/hwmon0/temp1_input"
},
# Caps Lock status
"capslock": {
"enabled" : 1,
"background" : "#3e78fd",
"color" : "#edeceb"
},
# OpenVPN status. Note that directive status in openvpn.conf should point to
# state file and update its timestamp at least as frequent as mtime_threshold in seconds
"vpn": {
"enabled": 0,
"statusfile" : "/tmp/openvpn-status.stat",
"mtime_threshold": 10,
# Also we can tcp-ping some service inside vpn network to ensure that connection is not stoned
"tcp_check" : {
"enabled": 0,
"host": "somehost.tld",
"port": "443",
"timeout" : 3
}
},
# Weather to display Application Buttons
"app_buttons": 1,
# Buttons - application launch "buttons"
"apps": [
{
"full_text" : " X ",
"name" : "kill_fbpanel",
"cmd" : "killall -9 fbpanel",
"color": "#aa0000",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
# text displayed on button
"full_text" : " Term ",
# internal application name, must be unique
"name" : "lilyterm",
# actual commad to be performed if button clicked
"cmd" : "lilyterm",
# WM_CLASS(STRING) = "irssi", "URxvt"
# ^-instance ^-class
# window instance as reported by xprop
"instance" : "lilyterm",
# window class as reported by xprop
"class" : "LilyTerm",
# text color
"color" : "#666666",
# normal border color
"border": "#adadad",
# border color if there is at lest one app window on desktop
"border_active": "#3e78fd",
# if true - '|' will be drawn on panel to the right side of the "button"
"separator": false,
# amount of space in pixels between buttons
"separator_block_width": 2
},
{
"full_text" : " Ff ",
"name" : "firefox",
"cmd" : "firefox",
"instance" : "Navigator",
"class" : "Firefox",
"color" : "#ffa500",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " V ",
"name" : "vivaldi",
"cmd" : "vivaldi",
"instance" : "vivaldi-stable",
"class" : "Vivaldi-stable",
"color" : "#ffa500",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " Chr ",
"name" : "chrome",
"cmd" : "chrome",
"instance" : "google-chrome",
"class" : "Google-chrome",
"color" : "#ffa500",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " O ",
"name" : "opera",
"cmd" : "opera",
"instance" : "Opera",
"class" : "Opera",
"color" : "#ffa500",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " @ ",
"name" : "thunderbird",
"cmd" : "thunderbird",
"instance" : "Mail",
"class" : "Thunderbird",
"color" : "#006994",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " Tg ",
"name" : "telegram",
"cmd" : "Telegram",
"instance" : "Telegram",
"class" : "TelegramDesktop",
"color" : "#5a8850",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " M ",
"name" : "myteam",
"cmd" : "myteam",
"instance" : "myteam",
"class" : "myteam",
"color" : "#5a8850",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " S ",
"name" : "slack",
"cmd" : "slack",
"instance" : "slack",
"class" : "Slack",
"color" : "#5a8850",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " Txt ",
"name" : "mousepad",
"cmd" : "mousepad",
"instance" : "mousepad",
"class" : "Mousepad",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " VSC ",
"name" : "code",
"cmd" : "code",
"instance" : "code",
"class" : "Code",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"separator_block_width": 2
},
{
"full_text" : " K ",
"name" : "keepassxc",
"cmd" : "keepassxc",
"instance" : "keepassxc",
"class" : "KeePassXC",
"color" : "#7ec850",
"border" : "#adadad",
"border_active" : "#3e78fd"
}
]
}