1
Files
wm-helpers/config.json

185 lines
3.9 KiB
JSON

# Enable "plugin" 1, disable "plugin" 0
{
# Load Average
"la" : 1,
# Memory stats
"mem" : 1,
# Just clock
"clock": 1,
# Battery
"battery": 1,
# 0-th core temperature
"cpu_temp": 1,
# Caps Lock staus
"capslock": 1,
# Application Buttons
"app_buttons": 1,
# 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
}
},
# 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
},
{
"full_text" : " Term ",
"name" : "lilyterm",
"cmd" : "lilyterm",
"instance" : "lilyterm",
"class" : "LilyTerm",
"color" : "#666666",
"border": "#adadad",
"border_active": "#3e78fd",
"separator": false,
"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"
}
]
}