This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-skel/sway-home/.config/nwg-panel/preset-1

195 lines
4.4 KiB
Plaintext
Raw Normal View History

2022-01-09 14:51:01 -06:00
[
{
"name": "top",
"output": "",
"layer": "bottom",
"position": "top",
"height": 30,
"homogeneous": true,
"margin-top": 0,
"margin-bottom": 0,
"padding-horizontal": 0,
"padding-vertical": 0,
"spacing": 2,
"controls": "right",
"items-padding": 0,
"css-name": "panel-top",
"icons": "light",
"modules-left": [
"sway-workspaces"
],
"modules-center": [
"clock"
],
"modules-right": [
"executor-cpuav",
"executor-cpubar",
"scratchpad",
"executor-updates"
],
"sway-taskbar": {},
"controls-settings": {
"alignment": "right",
"components": [
"brightness",
"battery",
"volume",
"bluetooth",
"net"
],
"commands": {
"battery": "",
"net": "nm-connection-editor",
"bluetooth": "blueman-manager"
},
"custom-items": [
{
"name": "Wallpapers",
"icon": "azote",
"cmd": "azote"
},
{
"name": "Look & Feel",
"icon": "preferences-desktop-theme",
"cmd": "lxappearance; import-gsettings"
},
{
"name": "Outputs",
"icon": "display",
"cmd": "wdisplays && sway-save-outputs"
},
{
"name": "Panel settings",
"icon": "nwg-panel",
"cmd": "nwg-panel-config"
},
{
"name": "Shell settings",
"icon": "nwg-shell",
"cmd": "nwg-shell-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": "controls-window",
"net-interface": "wlo1",
"system-shutdown-symbolic": "system-shutdown",
"output-switcher": true,
"window-width": 320,
"window-margin": 6
},
"playerctl": {},
"clock": {
"format": "%a, %d. %b %H:%M:%S",
"interval": 1,
"on-right-click": "",
"tooltip-text": "",
"on-left-click": "",
"on-middle-click": "",
"on-scroll-up": "",
"on-scroll-down": "",
"css-name": "clock"
},
"executor-updates": {
"script": "sway-check-updates",
"interval": 900,
"icon-size": 16,
"on-left-click": "foot sway-update",
"tooltip-text": "",
"on-middle-click": "",
"on-right-click": "",
"on-scroll-up": "",
"on-scroll-down": "",
"css-name": "",
"root-css-name": "",
"icon-placement": "left"
},
"width": "auto",
"button-config": {
"command": "nwg-panel-config",
"icon": "nwg-panel",
"label": "",
"label-position": "right",
"css-name": "button-custom",
"icon-size": 16
},
"sway-workspaces": {
"numbers": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"
],
"show-icon": true,
"image-size": 16,
"show-name": true,
"name-length": 20,
"mark-autotiling": false,
"mark-content": true,
"show-layout": true
},
"scratchpad": {
"css-name": "",
"icon-size": 20
},
"menu-start": "off",
"menu-start-settings": {},
"executor-cpuav": {
"script": "gopsuinfo -i a",
"tooltip-text": "average CPU load",
"on-left-click": "foot htop",
"on-middle-click": "",
"on-right-click": "",
"on-scroll-up": "",
"on-scroll-down": "",
"root-css-name": "",
"css-name": "",
"icon-placement": "right",
"icon-size": 16,
"interval": 3
},
"executor-cpubar": {
"script": "gopsuinfo -c g",
"tooltip-text": "",
"on-left-click": "",
"on-middle-click": "",
"on-right-click": "",
"on-scroll-up": "",
"on-scroll-down": "",
"root-css-name": "",
"css-name": "",
"icon-placement": "left",
"icon-size": 16,
"interval": 3
}
}
]