format configs
This commit is contained in:
@@ -46,13 +46,13 @@ input {
|
|||||||
}
|
}
|
||||||
|
|
||||||
output "eDP-1" {
|
output "eDP-1" {
|
||||||
scale 1.25
|
scale 1.25
|
||||||
}
|
}
|
||||||
|
|
||||||
output "HDMI-A-1" {
|
output "HDMI-A-1" {
|
||||||
mode "1920x1080@180.000"
|
mode "1920x1080@180.000"
|
||||||
//position x=1920 y=0
|
//position x=1920 y=0
|
||||||
focus-at-startup
|
focus-at-startup
|
||||||
}
|
}
|
||||||
|
|
||||||
layout {
|
layout {
|
||||||
@@ -120,7 +120,7 @@ layout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hotkey-overlay {
|
hotkey-overlay {
|
||||||
skip-at-startup
|
skip-at-startup
|
||||||
}
|
}
|
||||||
|
|
||||||
layer-rule {
|
layer-rule {
|
||||||
|
|||||||
@@ -1,8 +1,21 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"modules-left": ["niri/workspaces", "niri/window"],
|
"modules-left": [
|
||||||
"modules-center": ["clock"],
|
"niri/workspaces",
|
||||||
"modules-right": ["mpris", "tray", "battery", "cpu", "memory", "temperature", "pulseaudio"],
|
"niri/window"
|
||||||
|
],
|
||||||
|
"modules-center": [
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"mpris",
|
||||||
|
"tray",
|
||||||
|
"battery",
|
||||||
|
"cpu",
|
||||||
|
"memory",
|
||||||
|
"temperature",
|
||||||
|
"pulseaudio"
|
||||||
|
],
|
||||||
"sway/scratchpad": {
|
"sway/scratchpad": {
|
||||||
"format": " {count}"
|
"format": " {count}"
|
||||||
},
|
},
|
||||||
@@ -51,20 +64,35 @@
|
|||||||
"critical-threshold": 80,
|
"critical-threshold": 80,
|
||||||
// "format-critical": "{temperatureC}°C {icon}",
|
// "format-critical": "{temperatureC}°C {icon}",
|
||||||
"format": "{icon} {temperatureC}°C",
|
"format": "{icon} {temperatureC}°C",
|
||||||
"format-icons": ["", "", ""]
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": " {percentage}%",
|
"format": " {percentage}%",
|
||||||
"interval": 5
|
"interval": 5
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": " {usage}%",
|
"format": " {usage}%",
|
||||||
"interval": 2
|
"interval": 2
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-charging": "{icon} {capacity}% ",
|
"format-charging": "{icon} {capacity}% ",
|
||||||
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
"format-icons": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
"interval": 1
|
"interval": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user