AutoYADM commit: 2025-03-20 13:10:23

This commit is contained in:
Daniel Fichtinger 2025-03-20 13:10:23 -04:00
parent ee45676a98
commit 093b993039

View file

@ -1,7 +1,7 @@
[ [
// TOP BAR // TOP BAR
{ {
"output": "DP-1", // "output": "DP-1",
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"modules-left": [ "modules-left": [
@ -130,7 +130,7 @@
}, },
// LEFT BAR // LEFT BAR
{ {
"output": "DP-1", // "output": "DP-1",
"layer": "top", "layer": "top",
"exclusive": false, "exclusive": false,
"gtk-layer-shell": true, "gtk-layer-shell": true,
@ -147,154 +147,154 @@
"default": "" "default": ""
} }
} }
}, }
// TOP BAR // TOP BAR
{ // {
"output": "HDMI-A-1", // // "output": "HDMI-A-1",
"layer": "top", // "layer": "top",
"position": "top", // "position": "top",
"modules-left": [ // "modules-left": [
"cava", // "cava",
"custom/colcount" // "custom/colcount"
// "niri/workspaces" // // "niri/workspaces"
], // ],
"modules-center": [ // "modules-center": [
"niri/window" // "niri/window"
], // ],
"modules-right": [ // "modules-right": [
// "custom/mail", // // "custom/mail",
"cpu", // "cpu",
"custom/delim", // "custom/delim",
"memory", // "memory",
"custom/delim", // "custom/delim",
"pulseaudio", // "pulseaudio",
"custom/delim", // "custom/delim",
"battery", // "battery",
"custom/delim", // "custom/delim",
"custom/recorder", // "custom/recorder",
"custom/delim", // "custom/delim",
"tray", // "tray",
"clock" // "clock"
], // ],
"niri/window": { // "niri/window": {
"max-length": 50, // "max-length": 50,
"separate-outputs": true // "separate-outputs": true
},
"custom/colcount": {
"exec": "~/dev/niri-windows/niri-windows.py",
"return-type": "json",
"restart-interval": "never",
"format": "{} "
},
"custom/mail": {
"exec": "~/.config/mail/mail-indicator.sh",
"restart-interval": "never",
"format": "{}"
},
"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": { // "custom/colcount": {
"format": "bat {capacity}%" // "exec": "~/dev/niri-windows/niri-windows.py",
// "format-icons": ["", "", "", "", ""] // "return-type": "json",
}, // "restart-interval": "never",
"clock": { // "format": "{} "
"format-alt": "{:%a, %d. %b %H:%M}" // },
}, // "custom/mail": {
"pulseaudio": { // "exec": "~/.config/mail/mail-indicator.sh",
"scroll-step": 5, // "restart-interval": "never",
"max-volume": 150, // "format": "{}"
"format": "vol {volume}%", // },
"format-muted": "vol mut", // "custom/recorder": {
"nospacing": 1, // "exec": "~/dev/niri-recorder/recorder.py",
"on-click": "pavucontrol", // "return-type": "json",
"tooltip": false // "restart-interval": "never",
}, // "on-click": "~/dev/niri-recorder/recorder.sh screen",
"cpu": { // "on-click-right": "~/dev/niri-recorder/recorder.sh region",
"interval": 10, // "format": " {} "
"format": "cpu {usage}%", // },
"max-length": 10 // "custom/delim": {
}, // "format": "|"
"memory": { // },
"interval": 30, // "cava": {
"format": "mem {percentage}%", // "cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
"max-length": 10 // // "framerate": 30,
} // // "autosens": 1,
}, // // "sensitivity": 100,
// LEFT BAR // // "bars": 14,
{ // // "lower_cutoff_freq": 50,
"output": "HDMI-A-1", // // "higher_cutoff_freq": 10000,
"layer": "top", // // "method": "pulse",
"exclusive": false, // // "source": "auto",
"gtk-layer-shell": true, // // "stereo": true,
"name": "leftbar", // // "reverse": false,
"width": 14, // // "bar_delimiter": 0,
"position": "left", // // "monstercat": false,
"modules-left": [ // // "waves": false,
"niri/workspaces" // // "noise_reduction": 0.77,
], // // "input_delay": 2,
"niri/workspaces": { // "format-icons": [
"format": "{icon}", // "▁",
"format-icons": { // "▂",
"active": "", // "▃",
"default": "" // "▄",
} // "▅",
} // "▆",
} // "▇",
// "█"
// ],
// "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
// }
// },
// // LEFT BAR
// {
// // "output": "HDMI-A-1",
// "layer": "top",
// "exclusive": false,
// "gtk-layer-shell": true,
// "name": "leftbar",
// "width": 14,
// "position": "left",
// "modules-left": [
// "niri/workspaces"
// ],
// "niri/workspaces": {
// "format": "{icon}",
// "format-icons": {
// "active": "",
// "default": ""
// }
// }
// }
] ]