updated waybar config
This commit is contained in:
parent
bc1b81e142
commit
63679ebbd5
2 changed files with 712 additions and 0 deletions
356
.config/waybar/botbar_config
Normal file
356
.config/waybar/botbar_config
Normal file
|
@ -0,0 +1,356 @@
|
|||
[
|
||||
// TOP BAR
|
||||
{
|
||||
// "output": "DP-1",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left": [
|
||||
"cava",
|
||||
"custom/colcount"
|
||||
// "niri/workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"niri/window"
|
||||
],
|
||||
"modules-right": [
|
||||
"clock"
|
||||
],
|
||||
"niri/window": {
|
||||
"max-length": 50,
|
||||
"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",
|
||||
"format-icons": [
|
||||
"▁",
|
||||
"▂",
|
||||
"▃",
|
||||
"▄",
|
||||
"▅",
|
||||
"▆",
|
||||
"▇",
|
||||
"█"
|
||||
],
|
||||
"actions": {
|
||||
"on-click-right": "mode"
|
||||
}
|
||||
},
|
||||
"niri/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"music": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"battery": {
|
||||
"format": "bat {capacity}%"
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
// bottom bar
|
||||
{
|
||||
// "output": "DP-1",
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"modules-left": [
|
||||
"cava"
|
||||
],
|
||||
"modules-center": [
|
||||
"cpu",
|
||||
"custom/delim",
|
||||
"memory",
|
||||
"custom/delim",
|
||||
"pulseaudio",
|
||||
"custom/delim",
|
||||
"battery",
|
||||
"custom/delim",
|
||||
"custom/recorder"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray"
|
||||
],
|
||||
"niri/window": {
|
||||
"max-length": 50,
|
||||
"separate-outputs": true
|
||||
},
|
||||
"custom/colcount": {
|
||||
"exec": "~/dev/niri-windows/niri-windows.py",
|
||||
"return-type": "json",
|
||||
"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",
|
||||
"format-icons": [
|
||||
"▁",
|
||||
"▂",
|
||||
"▃",
|
||||
"▄",
|
||||
"▅",
|
||||
"▆",
|
||||
"▇",
|
||||
"█"
|
||||
],
|
||||
"actions": {
|
||||
"on-click-right": "mode"
|
||||
}
|
||||
},
|
||||
"niri/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"music": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"battery": {
|
||||
"format": "bat {capacity}%"
|
||||
},
|
||||
"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": "DP-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": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
// TOP BAR
|
||||
// {
|
||||
// // "output": "HDMI-A-1",
|
||||
// "layer": "top",
|
||||
// "position": "top",
|
||||
// "modules-left": [
|
||||
// "cava",
|
||||
// "custom/colcount"
|
||||
// // "niri/workspaces"
|
||||
// ],
|
||||
// "modules-center": [
|
||||
// "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": {
|
||||
// "max-length": 50,
|
||||
// "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": {
|
||||
// "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": ""
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
]
|
356
.config/waybar/config
Normal file
356
.config/waybar/config
Normal file
|
@ -0,0 +1,356 @@
|
|||
[
|
||||
// TOP BAR
|
||||
{
|
||||
// "output": "DP-1",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left": [
|
||||
"cava",
|
||||
"custom/colcount"
|
||||
// "niri/workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"niri/window"
|
||||
],
|
||||
"modules-right": [
|
||||
"clock"
|
||||
],
|
||||
"niri/window": {
|
||||
"max-length": 50,
|
||||
"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",
|
||||
"format-icons": [
|
||||
"▁",
|
||||
"▂",
|
||||
"▃",
|
||||
"▄",
|
||||
"▅",
|
||||
"▆",
|
||||
"▇",
|
||||
"█"
|
||||
],
|
||||
"actions": {
|
||||
"on-click-right": "mode"
|
||||
}
|
||||
},
|
||||
"niri/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"music": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"battery": {
|
||||
"format": "bat {capacity}%"
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
// bottom bar
|
||||
{
|
||||
// "output": "DP-1",
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"modules-left": [
|
||||
"cava"
|
||||
],
|
||||
"modules-center": [
|
||||
"cpu",
|
||||
"custom/delim",
|
||||
"memory",
|
||||
"custom/delim",
|
||||
"pulseaudio",
|
||||
"custom/delim",
|
||||
"battery",
|
||||
"custom/delim",
|
||||
"custom/recorder"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray"
|
||||
],
|
||||
"niri/window": {
|
||||
"max-length": 50,
|
||||
"separate-outputs": true
|
||||
},
|
||||
"custom/colcount": {
|
||||
"exec": "~/dev/niri-windows/niri-windows.py",
|
||||
"return-type": "json",
|
||||
"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",
|
||||
"format-icons": [
|
||||
"▁",
|
||||
"▂",
|
||||
"▃",
|
||||
"▄",
|
||||
"▅",
|
||||
"▆",
|
||||
"▇",
|
||||
"█"
|
||||
],
|
||||
"actions": {
|
||||
"on-click-right": "mode"
|
||||
}
|
||||
},
|
||||
"niri/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"music": "",
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"battery": {
|
||||
"format": "bat {capacity}%"
|
||||
},
|
||||
"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": "DP-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": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
// TOP BAR
|
||||
// {
|
||||
// // "output": "HDMI-A-1",
|
||||
// "layer": "top",
|
||||
// "position": "top",
|
||||
// "modules-left": [
|
||||
// "cava",
|
||||
// "custom/colcount"
|
||||
// // "niri/workspaces"
|
||||
// ],
|
||||
// "modules-center": [
|
||||
// "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": {
|
||||
// "max-length": 50,
|
||||
// "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": {
|
||||
// "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": ""
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue