chore: waybar style and config cleaned up

This commit is contained in:
2025-12-24 12:03:06 +03:00
parent 9faceb2309
commit bf659ad824
2 changed files with 165 additions and 283 deletions

View File

@@ -1,17 +1,13 @@
// -*- mode: jsonc -*-
{
//"output": "eDP-1",
"output": [
"eDP-1",
"HDMI-A-1"
],
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
"width": 1900, // Waybar width
"spacing": 0, // Gaps between modules (4px)
"height": 30,
"width": 1900,
"spacing": 0,
"reload_style_on_change": true,
// Choose the order of the modules
"modules-left": [
"custom/separator_invisible",
"mpd",
@@ -28,28 +24,15 @@
"clock",
"custom/separator_invisible"
],
// Modules configuration
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"active-only": true,
"warp-on-scroll": false,
"persistent-workspaces": {
// "1": [],
// "2": [],
// "3": [],
// "4": [],
// "5": [],
// "6": [],
// "7": [],
// "8": [],
// "9": [],
// "10": [],
// "11": [],
// "12": []
"eDP-1": [1,2,3,4,5,6,7,8,9],
"HDMI-A-1": [10,11,12],
"FUCKOFF": [13,14]
"IGNORED": [13,14]
},
"ignore-workspaces": [
"*13",
@@ -69,14 +52,13 @@
"10": "󰥱",
"11": "",
"12": "",
"default": "󰽢",
"empty": "󰄰"
"default": "󰽢"
}
},
"mpd": {
"password": "kapuchinamusica",
"artist-len": 30,
"title-len": 30,
"title-len": 31,
"unknown-tag": "n/a",
"format": "{stateIcon} {titleSmart}",
"interval": 1,
@@ -92,16 +74,8 @@
"format-stopped": "",
"on-click": "mpc toggle --password kapuchinamusica"
},
"tray": {
// "icon-size": 21,
"spacing": 10,
"icons": {
"blueman": "bluetooth",
"*": "folder-symbolic"
}
},
"clock": {
// "timezone": "America/New_York",
"timezone": "Europe/Moscow",
"interval": 5,
"tooltip-format": "<big>{:%A ( %B %d )}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%H:%M}",
@@ -122,18 +96,6 @@
"on-click-right": "mode"
}
},
"cpu": {
"format": "󰓅 {usage}%",
"tooltip": false,
"interval": 15,
"format-icons": [
"󰄰", "󰪞", "󰪟", "󰪠", "󰪡", "󰪢", "󰪣", "󰪤", "󰪥"
]
},
"memory": {
"format": "󰧑 {percentage}% 󰋊 {swapPercentage}%",
"interval": 10
},
"battery": {
"full-at": 98,
"states": {
@@ -147,7 +109,7 @@
"format-plugged": "{icon}",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
"format-icons": ["󰂎", "", "", "󰁽", "", "󰁿", "", "󰂁", "󰂂", ""],
"format-icons": ["󰂎", "", "", "󰁽", "", "󰁿", "", "󰂁", "󰂂"],
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}"
},
"network": {
@@ -175,46 +137,16 @@
"max": 100,
"orientation": "horizontal"
},
"custom/logo": {
"format": "",
"on-click": "swaync-client -t -sw",
"interval": "once",
"tooltip": false
},
"custom/separator": {
"format": "",
"interval": "once",
"tooltip": false
},
"custom/separator_invisible": {
"format": " ",
"interval": "once",
"tooltip": false
},
"custom/submap": {
"format": " {icon} {text}",
"max-length": 10,
"format-icons": {
"default": "󰥻"
},
"interval": 2,
"exec": "state=$(hyprctl submap) && [[ $state != 'default' ]] && echo $state",
"on-click": "hyprctl dispatch submap reset"
},
"custom/pomodoro": {
"format": "{}",
"return-type": "json",
"exec": "~/.local/bin/waybar-module-pomodoro --persist -w 20 -s 5 -l 20 -i 3 -p '' -a '' --autob",
"on-click": "~/.local/bin/waybar-module-pomodoro toggle",
"on-click-right": "~/.local/bin/waybar-module-pomodoro reset"
},
"custom/panel": {
"format": "",
"on-click": "swaync-client -t -sw"
},
"custom/goal": {
"exec": "cat $HOME/.config/waybar/goal.txt",
"format": "󱓧 {}",
"interval": 60
}
}