feat: add waybar colors.css for centralized color definitions; experiment: change cava visual style to solid blue foreground and disable gradient; chore: remove nwg-dock-hyprland from hyprland autostart and toggle scripts; refactor: update waybar launch commands to use new config_top.jsonc and style_top.css; refactor: simplify gamemode.sh by removing STATUSBAR variable and updating waybar commands; chore: add placeholder config_bottom.jsonc and style_bottom.css for future dual-bar setup
221 lines
6.3 KiB
JSON
221 lines
6.3 KiB
JSON
// -*- 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)
|
|
"reload_style_on_change": true,
|
|
// Choose the order of the modules
|
|
"modules-left": [
|
|
"custom/separator_invisible",
|
|
"mpd",
|
|
"custom/pomodoro"
|
|
],
|
|
"modules-center": [
|
|
"hyprland/workspaces"
|
|
],
|
|
"modules-right": [
|
|
"pulseaudio",
|
|
"pulseaudio/slider",
|
|
"battery",
|
|
"network",
|
|
"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]
|
|
},
|
|
"ignore-workspaces": [
|
|
"*13",
|
|
"*14"
|
|
],
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"1": "",
|
|
"2": "",
|
|
"3": "",
|
|
"4": "",
|
|
"5": "",
|
|
"6": "",
|
|
"7": "",
|
|
"8": "",
|
|
"9": "",
|
|
"10": "",
|
|
"11": "",
|
|
"12": "",
|
|
"default": "",
|
|
"empty": ""
|
|
}
|
|
},
|
|
"mpd": {
|
|
"password": "kapuchinamusica",
|
|
"artist-len": 30,
|
|
"title-len": 30,
|
|
"unknown-tag": "n/a",
|
|
"format": "{stateIcon} {titleSmart}",
|
|
"interval": 1,
|
|
"single-icons": {
|
|
"on": "1 "
|
|
},
|
|
"state-icons": {
|
|
"paused": "",
|
|
"playing": ""
|
|
},
|
|
"tooltip-format": "MPD (connected)",
|
|
"tooltip-format-disconnected": "MPD (disconnected)",
|
|
"format-stopped": "",
|
|
"on-click": "mpc toggle --password kapuchinamusica"
|
|
},
|
|
"tray": {
|
|
// "icon-size": 21,
|
|
"spacing": 10,
|
|
"icons": {
|
|
"blueman": "bluetooth",
|
|
"*": "folder-symbolic"
|
|
}
|
|
},
|
|
"clock": {
|
|
// "timezone": "America/New_York",
|
|
"interval": 5,
|
|
"tooltip-format": "<big>{:%A ( %B %d )}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format": "{:%H:%M}",
|
|
"format-alt": "{:%H:%M %d.%m.%Y}",
|
|
"calendar": {
|
|
"mode": "year",
|
|
"mode-mon-col": 3,
|
|
"weeks-pos": "right",
|
|
"format": {
|
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
|
"days": "<span color='#ac8699'><b>{}</b></span>",
|
|
"weeks": "<span color='#BC4056'><b>W{}</b></span>",
|
|
"weekdays": "<span color='#F8B5CE'><b>{}</b></span>",
|
|
"today": "<span color='#00FFFF'><b><u>{}</u></b></span>"
|
|
}
|
|
},
|
|
"actions": {
|
|
"on-click-right": "mode"
|
|
}
|
|
},
|
|
"cpu": {
|
|
"format": " {usage}%",
|
|
"tooltip": false,
|
|
"interval": 15,
|
|
"format-icons": [
|
|
"", "", "", "", "", "", "", "", ""
|
|
]
|
|
},
|
|
"memory": {
|
|
"format": " {percentage}% {swapPercentage}%",
|
|
"interval": 10
|
|
},
|
|
"battery": {
|
|
"full-at": 98,
|
|
"states": {
|
|
"good": 85,
|
|
"warning": 30,
|
|
"critical": 18
|
|
},
|
|
"format": "{icon}",
|
|
"format-full": "",
|
|
"format-charging": "{icon}",
|
|
"format-plugged": "{icon}",
|
|
"format-alt": "{time} {icon}",
|
|
// "format-good": "", // An empty format will hide the module
|
|
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
|
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}"
|
|
},
|
|
"network": {
|
|
"format-wifi": "{icon}",
|
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
|
"tooltip-format": "{essid} {ifname} via {gwaddr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": "",
|
|
"format-icons": [
|
|
"", "", "", "", ""
|
|
]
|
|
},
|
|
"pulseaudio": {
|
|
// "scroll-step": 1, // %, can be a float
|
|
"format": "{format_source} ",
|
|
"format-muted": "{format_source} ",
|
|
"format-bluetooth": "{format_source} ",
|
|
"format-bluetooth-muted": "{format_source} ",
|
|
"format-source": "",
|
|
"format-source-muted": "",
|
|
"on-click": "pwvucontrol"
|
|
},
|
|
"pulseaudio/slider": {
|
|
"min": 0,
|
|
"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
|
|
}
|
|
}
|