AutoYADM commit: 2025-03-26 18:00:08
This commit is contained in:
parent
52113c12d8
commit
9ae5d4da09
4 changed files with 288 additions and 111 deletions
|
@ -1,11 +1,10 @@
|
|||
[
|
||||
// TOP BAR
|
||||
{
|
||||
"output": "DP-1",
|
||||
// "output": "DP-1",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left": [
|
||||
"cava",
|
||||
"custom/colcount"
|
||||
// "niri/workspaces"
|
||||
],
|
||||
|
@ -13,18 +12,6 @@
|
|||
"niri/window"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/mail",
|
||||
"cpu",
|
||||
"custom/delim",
|
||||
"memory",
|
||||
"custom/delim",
|
||||
"pulseaudio",
|
||||
"custom/delim",
|
||||
"battery",
|
||||
"custom/delim",
|
||||
"custom/recorder",
|
||||
"custom/delim",
|
||||
"tray",
|
||||
"clock"
|
||||
],
|
||||
"niri/window": {
|
||||
|
@ -55,21 +42,6 @@
|
|||
},
|
||||
"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": [
|
||||
"▁",
|
||||
"▂",
|
||||
|
@ -87,23 +59,13 @@
|
|||
"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}"
|
||||
|
@ -128,53 +90,26 @@
|
|||
"max-length": 10
|
||||
}
|
||||
},
|
||||
// LEFT BAR
|
||||
// bottom bar
|
||||
{
|
||||
"output": "DP-1",
|
||||
// "output": "DP-1",
|
||||
"layer": "top",
|
||||
"exclusive": false,
|
||||
"gtk-layer-shell": true,
|
||||
"name": "leftbar",
|
||||
"width": 14,
|
||||
"position": "left",
|
||||
"position": "bottom",
|
||||
"modules-left": [
|
||||
"niri/workspaces"
|
||||
],
|
||||
"niri/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
// TOP BAR
|
||||
{
|
||||
"output": "HDMI-A-1",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left": [
|
||||
"cava",
|
||||
"custom/colcount"
|
||||
// "niri/workspaces"
|
||||
"cava"
|
||||
],
|
||||
"modules-center": [
|
||||
"niri/window"
|
||||
],
|
||||
"modules-right": [
|
||||
// "custom/mail",
|
||||
"cpu",
|
||||
"custom/delim",
|
||||
"memory",
|
||||
"custom/delim",
|
||||
"pulseaudio",
|
||||
"custom/delim",
|
||||
"battery",
|
||||
"custom/delim",
|
||||
"pulseaudio"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/recorder",
|
||||
"custom/delim",
|
||||
"tray",
|
||||
"clock"
|
||||
"tray"
|
||||
],
|
||||
"niri/window": {
|
||||
"max-length": 50,
|
||||
|
@ -186,11 +121,6 @@
|
|||
"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",
|
||||
|
@ -204,21 +134,6 @@
|
|||
},
|
||||
"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": [
|
||||
"▁",
|
||||
"▂",
|
||||
|
@ -236,23 +151,15 @@
|
|||
"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": ["", "", "", "", ""]
|
||||
"format": "{capacity}% ",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% "
|
||||
},
|
||||
"clock": {
|
||||
"format-alt": "{:%a, %d. %b %H:%M}"
|
||||
|
@ -260,26 +167,26 @@
|
|||
"pulseaudio": {
|
||||
"scroll-step": 5,
|
||||
"max-volume": 150,
|
||||
"format": "vol {volume}%",
|
||||
"format-muted": "vol mut",
|
||||
"format": " {volume}%",
|
||||
"format-muted": "",
|
||||
"nospacing": 1,
|
||||
"on-click": "pavucontrol",
|
||||
"tooltip": false
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": "cpu {usage}%",
|
||||
"format": " {usage}%",
|
||||
"max-length": 10
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": "mem {percentage}%",
|
||||
"format": " {percentage}%",
|
||||
"max-length": 10
|
||||
}
|
||||
},
|
||||
// LEFT BAR
|
||||
{
|
||||
"output": "HDMI-A-1",
|
||||
// "output": "DP-1",
|
||||
"layer": "top",
|
||||
"exclusive": false,
|
||||
"gtk-layer-shell": true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue