flake: rework modules folder structure
This commit is contained in:
parent
5d64c56d40
commit
0952665f6b
56 changed files with 3 additions and 3 deletions
|
|
@ -1,85 +0,0 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"spacing": 10,
|
||||
"modules-left": [
|
||||
"niri/workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock#1",
|
||||
"clock#2",
|
||||
"clock#3"
|
||||
],
|
||||
"modules-right": [
|
||||
"pulseaudio",
|
||||
"memory",
|
||||
"cpu",
|
||||
"battery",
|
||||
"disk",
|
||||
"tray"
|
||||
],
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"format": "{name}"
|
||||
},
|
||||
"clock#1": {
|
||||
"format": "{:%a}",
|
||||
"tooltip": false
|
||||
},
|
||||
"clock#2": {
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip": false
|
||||
},
|
||||
"clock#3": {
|
||||
"format": "{:%d-%m}",
|
||||
"tooltip": false
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume:2}%",
|
||||
"format-bluetooth": "{icon} {volume}% ",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"default": [
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"scroll-step": 5,
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"on-click-right": "pwvucontrol",
|
||||
"reverse-scrolling": true
|
||||
},
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": "Mem {}%"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": "CPU {usage:2}%"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"disk": {
|
||||
"interval": 5,
|
||||
"format": "Disk {percentage_used:2}%",
|
||||
"path": "/"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 22,
|
||||
"spacing": 6
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue