refactor(waybar): used modules for the two bars
This commit is contained in:
parent
a1dff8f66e
commit
a7162e5302
4 changed files with 30 additions and 32 deletions
|
@ -3,16 +3,16 @@
|
|||
"~/.config/waybar/modules/custom-music.jsonc",
|
||||
"~/.config/waybar/modules/custom-notifications.jsonc",
|
||||
"~/.config/waybar/modules/hyprland-workspaces.jsonc",
|
||||
"~/.config/waybar/modules/clock-1.jsonc",
|
||||
"~/.config/waybar/modules/hyprland-language.jsonc",
|
||||
"~/.config/waybar/modules/tray.jsonc",
|
||||
"~/.config/waybar/modules/network.jsonc",
|
||||
],
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["custom/music"],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"hyprland/language",
|
||||
"clock#cl1",
|
||||
"network",
|
||||
"custom/notifications",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
"~/.config/waybar/modules/temperature-gpu.jsonc",
|
||||
"~/.config/waybar/modules/temperature-cpu.jsonc",
|
||||
"~/.config/waybar/modules/hyprland-workspaces.jsonc",
|
||||
"~/.config/waybar/modules/network.jsonc",
|
||||
"~/.config/waybar/modules/clock.jsonc",
|
||||
],
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-right": [
|
||||
"network",
|
||||
"memory",
|
||||
"cpu",
|
||||
"temperature#cpu",
|
||||
"custom/gpu-usage",
|
||||
"temperature#gpu",
|
||||
"clock#cl1",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"clock#cl2": {
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"on-scroll": 1,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#eed49f'><b>{}</b></span>",
|
||||
"days": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"weeks": "<span color='#8aadf4'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#8bd5ca'><b>{}</b></span>",
|
||||
"today": "<span color='#ed8796'><b><u>{}</u></b></span>",
|
||||
},
|
||||
},
|
||||
"format": "{:%H:%M - %A, %B %d, %Y }",
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down",
|
||||
},
|
||||
"on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23",
|
||||
},
|
||||
}
|
|
@ -27,4 +27,30 @@
|
|||
},
|
||||
"on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23",
|
||||
},
|
||||
"clock#cl2": {
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"on-scroll": 1,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#eed49f'><b>{}</b></span>",
|
||||
"days": "<span color='#cad3f5'><b>{}</b></span>",
|
||||
"weeks": "<span color='#8aadf4'><b>W{}</b></span>",
|
||||
"weekdays": "<span color='#8bd5ca'><b>{}</b></span>",
|
||||
"today": "<span color='#ed8796'><b><u>{}</u></b></span>",
|
||||
},
|
||||
},
|
||||
"format": "{:%H:%M - %A, %B %d, %Y }",
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down",
|
||||
},
|
||||
"on-click-middle": "thunderbird -calendar && hyprctl dispatch workspace 23",
|
||||
},
|
||||
}
|
Loading…
Add table
Reference in a new issue