AutoYADM commit: 2025-03-06 14:50:13

This commit is contained in:
Daniel Fichtinger 2025-03-06 14:50:14 -05:00
parent 7b71e67a4d
commit 648891463c

View file

@ -1,10 +1,11 @@
[
// TOP BAR
{
"layer": "top",
"position": "top",
"modules-left": [
"cava",
"niri/workspaces"
"cava"
// "niri/workspaces"
],
"modules-center": [
"niri/window"
@ -113,118 +114,19 @@
"max-length": 10
}
},
// LEFT BAR
{
"layer": "top",
"position": "left",
"modules-left": [
"cava",
"niri/workspaces"
],
"modules-center": [
"niri/window"
],
"modules-right": [
"cpu",
"custom/delim",
"memory",
"custom/delim",
"pulseaudio",
"custom/delim",
"battery",
"custom/delim",
"custom/recorder",
"custom/delim",
"tray",
"clock"
],
"niri/window": {
"max-length": 50,
"separate-outputs": true
},
"custom/recorder": {
"exec": "~/dev/niri-recorder/recorder.py",
"return-type": "json",
"restart-interval": "never",
"on-click": "~/dev/niri-recorder/recorder.sh screen",
"on-click-right": "~/dev/niri-recorder/recorder.sh region",
"format": " {} "
},
"custom/delim": {
"format": "|"
},
"cava": {
"cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
// "framerate": 30,
// "autosens": 1,
// "sensitivity": 100,
// "bars": 14,
// "lower_cutoff_freq": 50,
// "higher_cutoff_freq": 10000,
// "method": "pulse",
// "source": "auto",
// "stereo": true,
// "reverse": false,
// "bar_delimiter": 0,
// "monstercat": false,
// "waves": false,
// "noise_reduction": 0.77,
// "input_delay": 2,
"format-icons": [
"▁",
"▂",
"▃",
"▄",
"▅",
"▆",
"▇",
"█"
],
"actions": {
"on-click-right": "mode"
}
},
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
// Named workspaces
// (you need to configure them in niri)
// "browser": "",
// "discord": "",
// "chat": "<b></b>",
// Icons by state
"music": "󰎇",
"active": "",
"default": ""
}
},
// "sway/workspaces": {
// "disable-scroll" : false,
// },
"battery": {
"format": "bat {capacity}%",
// "format-icons": ["", "", "", "", ""]
},
"clock": {
"format-alt": "{:%a, %d. %b %H:%M}"
},
"pulseaudio": {
"scroll-step": 5,
"max-volume": 150,
"format": "vol {volume}%",
"format-muted": "vol mut",
"nospacing": 1,
"on-click": "pavucontrol",
"tooltip": false
},
"cpu": {
"interval": 10,
"format": "cpu {usage}%",
"max-length": 10
},
"memory": {
"interval": 30,
"format": "mem {percentage}%",
"max-length": 10
}
}
]