MainDots/Configs/waybar/lft/config.jsonc

255 lines
5.2 KiB
Plaintext
Raw Normal View History

2024-04-05 14:05:32 +00:00
/////////////////////////////////////////////////////////////////
// _ __ __ ____ //
// | | /| / /__ ___ __/ / ___ _____ _______ ___ / _(_)__ _ //
// | |/ |/ / _ `/ // / _ \/ _ `/ __/ / __/ _ \/ _ \/ _/ / _ `/ //
// |__/|__/\_,_/\_, /_.__/\_,_/_/ \__/\___/_//_/_//_/\_, / //
// /___/ /___/ //
/////////////////////////////////////////////////////////////////
//Global panel settings.
{
"layer": "top",
// "output": [],
"position": "left",
2024-04-14 18:18:23 +00:00
// "height": 880,
//"height": 1092,
"min-width": 0,
"width": 13,
2024-04-05 14:05:32 +00:00
"margin-top": 0,
"margin-bottom": 0,
2024-04-14 18:18:23 +00:00
"margin-right": -14,
2024-04-05 14:05:32 +00:00
"margin-left": 0,
"spacing": 0,
"gtk-layer-shell": true,
//"border-radius": 17,
//Modules placement.
//Left panel part.
"modules-left": [
//"custom/separator",
"battery",
"custom/separator",
"battery#bat2",
2024-04-14 18:18:23 +00:00
"custom/separator",
"custom/tempicon",
"temperature",
2024-04-05 14:05:32 +00:00
],
//Center panel part.
"modules-center": [
"hyprland/workspaces",
],
//Right panel part.
"modules-right": [
"pulseaudio#audio",
"custom/separator",
"hyprland/language",
"custom/separator",
2024-04-14 18:18:23 +00:00
"clock"
//"custom/separator",
//"network"
//"pulseaudio#audio",
//"custom/separator",
//"temperature",
//"custom/separator",
//"custom/btc",
//"custom/btd",
2024-04-05 14:05:32 +00:00
],
//Modules Configuration.
//1. Kayboard layout module.
"hyprland/language": {
"format": "{}",
"format-en": "US",
"format-ru": "RU",
},
//2. Date and time module.
"clock": {
"interval": 1,
//"timezone": "Asia/Novosibirsk",
"format": "{:%H\n%M}",
2024-04-14 18:18:23 +00:00
//"format-alt": "{:%e\n%a\n%b}",
"tooltip": false,
2024-04-05 14:05:32 +00:00
//"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"calendar": {
"mode": "year",
"mode-mon-col": 3,
"format": {
"today": "<span color='#0dbc79'>{}</span>"
}
}
},
//3. Workspaces switcher module.
"hyprland/workspaces": {
"format": "{icon}",
"format-icons": {
2024-04-14 18:18:23 +00:00
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"6": "",
2024-04-05 14:05:32 +00:00
// "6": "",
// "7": "",
// "8": "", 
// "9": "",
2024-04-14 18:18:23 +00:00
// "10": ""
2024-04-05 14:05:32 +00:00
2024-04-14 18:18:23 +00:00
// "active":"󱓻",
// "default":"󱓻"",
"default":"",
// "urgent":"󱓻"
2024-04-05 14:05:32 +00:00
},
"on-click": "activate",
"tooltip": false,
"persistent_workspaces": {
"*": 3
}
},
//4. PulseAudio control module.
"pulseaudio#audio": {
"format": "{volume}",
"format-bluetooth": "{volume}",
2024-04-14 18:18:23 +00:00
"format-bluetooth-muted": "",
"format-muted": "",
2024-04-05 14:05:32 +00:00
"format-icons": {
"default": [
"󰛞 󱢠 󱢠 󱢠 󱢠 ",
"󰣐 󱢠 󱢠 󱢠 󱢠 ",
"󰣐 󰛞 󱢠 󱢠 󱢠 ",
"󰣐 󰣐 󱢠 󱢠 󱢠 ",
"󰣐 󰣐 󰛞 󱢠 󱢠 ",
"󰣐 󰣐 󰣐 󱢠 󱢠 ",
"󰣐 󰣐 󰣐 󰛞 󱢠 ",
"󰣐 󰣐 󰣐 󰣐 󱢠 ",
"󰣐 󰣐 󰣐 󰣐 󰛞 ",
"󰣐 󰣐 󰣐 󰣐 󰣐 "
]
},
//"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
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,
"tooltip-format": "{icon} {desc} {volume}%"
},
2024-04-14 18:18:23 +00:00
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "",
"format-ethernet": "",
//"tooltip-format": "{essid} - {ifname} via {gwaddr} ",
//"format-linked": "{ifname} (No IP) ",
"format-disconnected": "",
//"format-alt": "{ifname}, {essid}",
"tooltip": false,
"interval": 3,
//"on-click-right": "pkill nm || foot --title=nm -e nmtui",
},
2024-04-05 14:05:32 +00:00
//5. Battery 0 (internal) capacity monitoring module.
"battery": {
"states": {
"warning": 30,
"critical": 10
},
"format": "{icon}\n{capacity}",
"format-charging": "{icon}\n{capacity}",
"format-plugged": "{icon}\n{capacity}",
"format-icons": [
"",
"",
"",
"",
""
],
"on-click": "",
"tooltip": false,
"bat": "BAT0",
"interval": 1
},
//6. Bluetooth headphones disconnect button.
"custom/btd": {
"format": "󰟎",
"tooltip": false,
"on-click": "bluetoothctl disconnect 0C:AE:BD:DB:52:3A"
},
//7. Bluetooth headphones connect button.
"custom/btc": {
"format": "󰋋",
"tooltip": false,
"on-click": "bluetoothctl connect 0C:AE:BD:DB:52:3A"
},
2024-04-14 18:18:23 +00:00
"custom/wifiicon": {
"format": " ",
"tooltip": false,
//"on-click": "pkill nm || foot --title=nm -e nmtu"
},
"custom/tempicon": {
"format": "",
"tooltip": false,
"on-click": "pkill htop || foot --title=smtr -e htop"
},
2024-04-05 14:05:32 +00:00
//8. Modules separator.
"custom/separator": {
"format": "──",
"tooltip": false,
"on-click": "wofi --show drun -I"
},
//9. Void Linux logo/menu button.
"custom/logo": {
"format": "  ",
"tooltip": false,
"on-click": "wofi --show drun -I"
},
//10. Battery 1 (external) capacity monitoring module.
"battery#bat2": {
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon}\n{capacity}",
"format-charging": "{icon}\n{capacity}",
"format-plugged": "{icon}\n{capacity}",
"format-icons": [
"",
"",
"",
"",
""
],
"on-click": "",
"tooltip": false,
"bat": "BAT1",
"interval": 1
},
//11. Temperature monitoring module.
"temperature": {
2024-04-14 18:18:23 +00:00
"format": "{temperatureC}",
"on-click": "pkill htop || foot --title=smtr -e htop"
2024-04-05 14:05:32 +00:00
},
},