custom waybar

This commit is contained in:
Thomas
2024-08-01 13:48:26 +02:00
parent af35d24bdd
commit 7c0c865811
5 changed files with 66 additions and 15 deletions
+32 -5
View File
@@ -3,9 +3,9 @@
"position": "top", // Waybar position (top|bottom|left|right)
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["hyprland/workspaces"],
"modules-center": ["custom/music"],
"modules-right": ["pulseaudio", "custom/tomato", "clock", "tray", "custom/lock", "custom/power"],
"modules-left": ["hyprland/workspaces", "custom/music", "privacy"],
"modules-center": ["clock#date", "clock"],
"modules-right": ["load", "custom/tomato", "pulseaudio", "tray", "custom/lock", "custom/power"],
"hyprland/workspaces": {
"disable-scroll": true,
"sort-by-name": true,
@@ -27,12 +27,39 @@
"on-click": "playerctl play-pause",
"max-length": 50
},
"privacy": {
"icon-spacing": 4,
"icon-size": 18,
"transition-duration": 250,
"modules": [
{
"type": "screenshare",
"tooltip": false,
"tooltip-icon-size": 24
},
{
"type": "audio-in",
"tooltip": false,
"tooltip-icon-size": 24
}
]
},
"load": {
"interval": 1,
"format": " {load5}"
},
"clock": {
"timezone": "Europe/Paris",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": " {:%d/%m/%Y}",
"tooltip": false,
"format": " {:%H:%M}"
},
"clock#date": {
"timezone": "Europe/Paris",
"locale": "fr_FR.UTF-8",
"tooltip": false,
"format": "󰃭 {:L%A %d/%m/%Y}",
"on-click": "gnome-calendar"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",