Properly indent code.
This commit is contained in:
parent
6d3e0375f1
commit
1e962f1a55
@ -4,154 +4,154 @@
|
|||||||
// Copyright 2022-2023 Jake Winters
|
// Copyright 2022-2023 Jake Winters
|
||||||
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
// Version: 3.0.0.6
|
// Version: 3.0.1.7
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"height": 30,
|
"height": 30,
|
||||||
|
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"clock#date",
|
"clock#date",
|
||||||
"clock#time",
|
"clock#time",
|
||||||
],
|
],
|
||||||
|
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"sway/workspaces",
|
"sway/workspaces",
|
||||||
"sway/mode",
|
"sway/mode",
|
||||||
],
|
],
|
||||||
|
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"sway/language",
|
"sway/language",
|
||||||
"cpu",
|
"cpu",
|
||||||
"temperature",
|
"temperature",
|
||||||
"memory",
|
"memory",
|
||||||
"disk",
|
"disk",
|
||||||
"network",
|
"network",
|
||||||
],
|
],
|
||||||
|
|
||||||
"clock#date": {
|
"clock#date": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format": "{:%Y-%m-%d}",
|
"format": "{:%Y-%m-%d}",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"clock#time": {
|
"clock#time": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format": "{:%H:%M:%S}",
|
"format": "{:%H:%M:%S}",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format": " {capacity}%",
|
"format": " {capacity}%",
|
||||||
"format-discharging": " {capacity}%",
|
"format-discharging": " {capacity}%",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format": " {usage:3}% {avg_frequency:0.03} GHz",
|
"format": " {usage:3}% {avg_frequency:0.03} GHz",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"sway/language": {
|
"sway/language": {
|
||||||
"format": " {short}",
|
"format": " {short}",
|
||||||
"min-length": 4,
|
"min-length": 4,
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"memory": {
|
"memory": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format": " {used:0.02f} GiB / {total:0.02f} GiB",
|
"format": " {used:0.02f} GiB / {total:0.02f} GiB",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"disk": {
|
"disk": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format": " {used} / {total}",
|
"format": " {used} / {total}",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"network": {
|
"network": {
|
||||||
"interface": "enp37s0",
|
"interface": "enp37s0",
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
||||||
"format-disconnected": " {ifname}",
|
"format-disconnected": " {ifname}",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"format": "{name}",
|
"format": "{name}",
|
||||||
"all-outputs": false,
|
"all-outputs": false,
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"format": " {}" ,
|
"format": " {}" ,
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": " {volume:3}%",
|
"format": " {volume:3}%",
|
||||||
"format-muted": " {volume:3}%",
|
"format-muted": " {volume:3}%",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"backlight": {
|
"backlight": {
|
||||||
"device": "amdgpu_bl0",
|
"device": "amdgpu_bl0",
|
||||||
"format": " {percent:3}%",
|
"format": " {percent:3}%",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
"temperature": {
|
"temperature": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"thermal-zone": 0,
|
"thermal-zone": 0,
|
||||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
||||||
"critical-threshold": 90,
|
"critical-threshold": 90,
|
||||||
"format": "{temperatureC:3}°C",
|
"format": "{temperatureC:3}°C",
|
||||||
"disable-hover": true,
|
"disable-hover": true,
|
||||||
"disable-click": true,
|
"disable-click": true,
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user