mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 21:32:58 +01:00
waybar: support hyprland
This commit is contained in:
parent
c97c9f9e48
commit
880ba7c3e0
2 changed files with 11 additions and 1 deletions
|
@ -1,12 +1,19 @@
|
|||
// vim: ft=jsonc
|
||||
{
|
||||
// "layer": "top", // Waybar at top layer
|
||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||
"height": 25, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
|
||||
//<! if opt.wayland_compositor == "river" then !>
|
||||
"modules-left": ["river/tags"],
|
||||
"modules-center": ["river/window"],
|
||||
//<! elseif opt.wayland_compositor == "hyprland" then !>
|
||||
"modules-left": ["wlr/workspaces"],
|
||||
"modules-center": ["wlr/taskbar"],
|
||||
//<! end !>
|
||||
|
||||
"modules-right": ["cpu", "memory", "pulseaudio", "temperature", "battery", "battery#bat2", "clock", "tray"],
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
|
@ -19,6 +19,9 @@ opts.cursor = {
|
|||
size = 24,
|
||||
}
|
||||
|
||||
-- used in waybar config
|
||||
opts.wayland_compositor = nil
|
||||
|
||||
opts.gtk_theme = "Catppuccin-Mocha-Standard-Red-dark"
|
||||
opts.icon_theme = "candy-icons"
|
||||
|
||||
|
|
Loading…
Reference in a new issue