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
2022-02-02 23:17:57 +01:00

217 lines
5.0 KiB
Plaintext

[
{
"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",
"tray"
],
"sway-taskbar": {},
"controls-settings": {
"alignment": "right",
"components": [
"brightness",
"battery",
"volume"
],
"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,
"backlight-device": "",
"root-css-name": "controls-overview"
},
"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
},
"dwl-tags": {},
"tray": {
"icon-size": 16,
"root-css-name": "tray",
"inner-css-name": "inner-tray",
"smooth-scrolling-threshold": 0
},
"swaync": {
"tooltip-text": "Notifications",
"on-left-click": "swaync-client -t",
"on-middle-click": "",
"on-right-click": "",
"on-scroll-up": "",
"on-scroll-down": "",
"root-css-name": "root-executor",
"css-name": "executor",
"icon-placement": "left",
"icon-size": 16,
"interval": 1,
"always-show-icon": true
}
}
]