198 lines
3.9 KiB
Plaintext
198 lines
3.9 KiB
Plaintext
![]() |
[
|
||
|
{
|
||
|
"name": "top",
|
||
|
"output": "",
|
||
|
"layer": "bottom",
|
||
|
"position": "top",
|
||
|
"width": "auto",
|
||
|
"height": 30,
|
||
|
"homogeneous": true,
|
||
|
"margin-top": 0,
|
||
|
"margin-bottom": 0,
|
||
|
"padding-horizontal": 0,
|
||
|
"padding-vertical": 0,
|
||
|
"spacing": 2,
|
||
|
"items-padding": 0,
|
||
|
"css-name": "panel-top",
|
||
|
"icons": "light",
|
||
|
"menu-start": "off",
|
||
|
"modules-left": [
|
||
|
"sway-workspaces"
|
||
|
],
|
||
|
"modules-center": [
|
||
|
"clock"
|
||
|
],
|
||
|
"modules-right": [
|
||
|
"executor-updates",
|
||
|
"executor-cpuav",
|
||
|
"executor-cpubar",
|
||
|
"executor-temp",
|
||
|
"executor-memory"
|
||
|
],
|
||
|
"controls": "right",
|
||
|
"controls-settings": {
|
||
|
"alignment": "right",
|
||
|
"components": [
|
||
|
"brightness",
|
||
|
"battery",
|
||
|
"volume",
|
||
|
"bluetooth",
|
||
|
"net"
|
||
|
],
|
||
|
"commands": {
|
||
|
"battery": "",
|
||
|
"net": "",
|
||
|
"bluetooth": "blueman-manager"
|
||
|
},
|
||
|
"custom-items": [
|
||
|
{
|
||
|
"name": "Wallpapers",
|
||
|
"icon": "azote",
|
||
|
"cmd": "azote"
|
||
|
},
|
||
|
{
|
||
|
"name": "Look & Feel",
|
||
|
"icon": "preferences-desktop-theme",
|
||
|
"cmd": "lxappearance"
|
||
|
},
|
||
|
{
|
||
|
"name": "Outputs",
|
||
|
"icon": "wdisplays",
|
||
|
"cmd": "wdisplays && sway-save-outputs"
|
||
|
},
|
||
|
{
|
||
|
"name": "Panel settings",
|
||
|
"icon": "nwg-panel",
|
||
|
"cmd": "nwg-panel-config"
|
||
|
}
|
||
|
],
|
||
|
"menu": {
|
||
|
"name": "Exit",
|
||
|
"icon": "system-shutdown-symbolic",
|
||
|
"items": [
|
||
|
{
|
||
|
"name": "Lock",
|
||
|
"cmd": "swaylock -f -c 000000"
|
||
|
},
|
||
|
{
|
||
|
"name": "Logout",
|
||
|
"cmd": "swaymsg exit"
|
||
|
},
|
||
|
{
|
||
|
"name": "Restart",
|
||
|
"cmd": "systemctl reboot"
|
||
|
},
|
||
|
{
|
||
|
"name": "Shutdown",
|
||
|
"cmd": "systemctl -i poweroff"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"show-values": false,
|
||
|
"interval": 1,
|
||
|
"icon-size": 18,
|
||
|
"hover-opens": false,
|
||
|
"leave-closes": true,
|
||
|
"css-name": "panel-top",
|
||
|
"net-interface": "wlan0",
|
||
|
"Exit": "Exittt",
|
||
|
"system-shutdown-symbolic": "system-shutdown",
|
||
|
"output-switcher": true,
|
||
|
"window-width": 320,
|
||
|
"window-margin": 0,
|
||
|
"root-css-name": "controls-overview"
|
||
|
},
|
||
|
"sway-workspaces": {
|
||
|
"show-layout": false,
|
||
|
"numbers": [
|
||
|
"1",
|
||
|
"2",
|
||
|
"3",
|
||
|
"4",
|
||
|
"5",
|
||
|
"6",
|
||
|
"7",
|
||
|
"8"
|
||
|
]
|
||
|
},
|
||
|
"clock": {
|
||
|
"format": "%a, %d. %b %H:%M:%S",
|
||
|
"interval": 1,
|
||
|
"on-right-click": "",
|
||
|
"tooltip-text": "",
|
||
|
"on-left-click": "gsimplecal",
|
||
|
"on-middle-click": "",
|
||
|
"on-scroll-up": "",
|
||
|
"on-scroll-down": "",
|
||
|
"css-name": "clock",
|
||
|
"root-css-name": "root-clock"
|
||
|
},
|
||
|
"executor-updates": {
|
||
|
"script": "baph -c",
|
||
|
"interval": 900,
|
||
|
"icon-size": 16,
|
||
|
"on-left-click": "foot bash -c 'baph -unN ; read -p \"Press Enter to finish\"'",
|
||
|
"tooltip-text": "",
|
||
|
"on-middle-click": "",
|
||
|
"on-right-click": "",
|
||
|
"on-scroll-up": "",
|
||
|
"on-scroll-down": "",
|
||
|
"css-name": "",
|
||
|
"root-css-name": "",
|
||
|
"icon-placement": "left"
|
||
|
},
|
||
|
"executor-cpubar": {
|
||
|
"script": "gopsuinfo -c g",
|
||
|
"interval": 2,
|
||
|
"tooltip-text": "",
|
||
|
"on-left-click": "",
|
||
|
"on-middle-click": "",
|
||
|
"on-right-click": "",
|
||
|
"on-scroll-up": "",
|
||
|
"on-scroll-down": "",
|
||
|
"css-name": "",
|
||
|
"icon-size": 16,
|
||
|
"icon-placement": "left"
|
||
|
},
|
||
|
"executor-cpuav": {
|
||
|
"script": "gopsuinfo -i a",
|
||
|
"interval": 2,
|
||
|
"tooltip-text": "CPU average load",
|
||
|
"on-left-click": "foot htop",
|
||
|
"on-middle-click": "",
|
||
|
"on-right-click": "",
|
||
|
"on-scroll-up": "",
|
||
|
"on-scroll-down": "",
|
||
|
"css-name": "",
|
||
|
"icon-size": 16,
|
||
|
"icon-placement": "right"
|
||
|
},
|
||
|
"executor-temp": {
|
||
|
"script": "gopsuinfo -i t",
|
||
|
"interval": 5,
|
||
|
"tooltip-text": "",
|
||
|
"on-left-click": "",
|
||
|
"on-middle-click": "",
|
||
|
"on-right-click": "",
|
||
|
"on-scroll-up": "",
|
||
|
"on-scroll-down": "",
|
||
|
"css-name": "",
|
||
|
"icon-size": 16,
|
||
|
"icon-placement": "left"
|
||
|
},
|
||
|
"executor-memory": {
|
||
|
"script": "gopsuinfo -i m",
|
||
|
"interval": 5,
|
||
|
"tooltip-text": "",
|
||
|
"on-left-click": "",
|
||
|
"on-middle-click": "",
|
||
|
"on-right-click": "",
|
||
|
"on-scroll-up": "",
|
||
|
"on-scroll-down": "",
|
||
|
"css-name": "",
|
||
|
"icon-size": 16,
|
||
|
"icon-placement": "left"
|
||
|
}
|
||
|
}
|
||
|
]
|