MainDots/Configs/waybar/btm-1/config.jsonc

163 lines
3.4 KiB
Plaintext
Raw Normal View History

2024-04-05 14:05:32 +00:00
/////////////////////////////////////////////////////////////////
// _ __ __ ____ //
// | | /| / /__ ___ __/ / ___ _____ _______ ___ / _(_)__ _ //
// | |/ |/ / _ `/ // / _ \/ _ `/ __/ / __/ _ \/ _ \/ _/ / _ `/ //
// |__/|__/\_,_/\_, /_.__/\_,_/_/ \__/\___/_//_/_//_/\_, / //
// /___/ /___/ //
/////////////////////////////////////////////////////////////////
//Global panel settings.
{
"layer": "top",
"position": "bottom",
"spacing": 0,
2024-05-27 12:32:53 +00:00
"width": 1160,
"margin-top": -12,
2024-04-05 14:05:32 +00:00
"gtk-layer-shell": true,
//Modules placement.
//Left panel part.
"modules-left": [
"clock",
"battery#bat2",
2024-05-27 12:32:53 +00:00
"battery"
2024-04-05 14:05:32 +00:00
],
//Center panel part.
"modules-center": [
2024-05-27 12:32:53 +00:00
"hyprland/workspaces"
2024-04-05 14:05:32 +00:00
],
//Right panel part.
"modules-right": [
"pulseaudio#audio",
2024-05-27 12:32:53 +00:00
"hyprland/language",
"temperature"
2024-04-05 14:05:32 +00:00
],
//Modules Configuration.
//1. Kayboard layout module.
"hyprland/language": {
2024-05-27 12:32:53 +00:00
"format": " {}",
2024-04-05 14:05:32 +00:00
"format-en": "US",
"format-ru": "RU",
},
//2. Date and time module.
"clock": {
"interval": 1,
2024-05-27 12:32:53 +00:00
"format": "{:%H:%M, %e %b, %a}",
2024-04-05 14:05:32 +00:00
"tooltip": false,
},
//3. Workspaces switcher module.
"hyprland/workspaces": {
"format": "{icon}",
"format-icons": {
2024-05-27 12:32:53 +00:00
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"6": "",
"7": "",
2024-04-14 18:18:23 +00:00
"8": "",
"9": "",
"10": "",
2024-04-05 14:05:32 +00:00
},
"on-click": "activate",
"tooltip": false,
"persistent_workspaces": {
2024-05-27 12:32:53 +00:00
"*": 7
2024-04-05 14:05:32 +00:00
}
},
//4. PulseAudio control module.
"pulseaudio#audio": {
"format": "{icon} {volume}",
"format-bluetooth": "{icon} {volume}",
2024-05-27 12:32:53 +00:00
"format-bluetooth-muted": " ",
"format-muted": " ",
2024-04-05 14:05:32 +00:00
"format-icons": {
"default": [
2024-05-27 12:32:53 +00:00
"     ",
"     ",
"     ",
"     ",
"     ",
"     ",
"     ",
"     ",
"     ",
"     "
2024-04-05 14:05:32 +00:00
]
},
2024-04-14 18:18:23 +00:00
"on-click-right": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"on-click": "pkill pulsemixer || foot --title=pm -e pulsemixer",
2024-04-05 14:05:32 +00:00
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +1%",
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -1%",
"tooltip": false,
},
//5. Battery 0 (internal) capacity monitoring module.
"battery": {
"states": {
"warning": 30,
"critical": 10
},
2024-05-27 12:32:53 +00:00
"format": "{icon} {capacity}",
"format-charging": " {capacity}",
"format-plugged": " {capacity}",
2024-04-05 14:05:32 +00:00
"format-icons": [
2024-05-27 12:32:53 +00:00
"","","",""
2024-04-05 14:05:32 +00:00
],
"on-click": "",
"tooltip": false,
"bat": "BAT0",
"interval": 1
},
//8. Modules separator.
"custom/separator": {
2024-05-27 12:32:53 +00:00
"format": " ",
2024-04-05 14:05:32 +00:00
"tooltip": false,
},
"custom/tempicon": {
2024-05-27 12:32:53 +00:00
"format": " ",
2024-04-05 14:05:32 +00:00
"tooltip": false,
2024-04-14 18:18:23 +00:00
"on-click": "pkill btm || foot --title=smtr -e btm"
2024-04-05 14:05:32 +00:00
},
//10. Battery 1 (external) capacity monitoring module.
"battery#bat2": {
"states": {
"warning": 30,
"critical": 15
},
2024-05-27 12:32:53 +00:00
"format": "{icon} {capacity}",
2024-04-05 14:05:32 +00:00
"format-charging": " {capacity}",
2024-05-27 12:32:53 +00:00
"format-plugged": " {capacity}",
2024-04-05 14:05:32 +00:00
"format-icons": [
2024-05-27 12:32:53 +00:00
"","","","" //,"󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"
//"󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"
2024-04-05 14:05:32 +00:00
],
"on-click": "",
"tooltip": false,
"bat": "BAT1",
"interval": 1
},
2024-05-27 12:32:53 +00:00
2024-04-05 14:05:32 +00:00
//11. Temperature monitoring module.
"temperature": {
2024-05-27 12:32:53 +00:00
"format": " {temperatureC}°C",
2024-04-05 14:05:32 +00:00
"on-click": "pkill htop || foot --title=smtr -e htop",
2024-04-14 18:18:23 +00:00
"critical-threshold": 80,
2024-05-27 12:32:53 +00:00
"tooltip":false
2024-04-05 14:05:32 +00:00
},
},