diff --git a/configs/waybar_l/Main/config.jsonc b/configs/waybar_l/Main/config.jsonc new file mode 100644 index 0000000..607d4ff --- /dev/null +++ b/configs/waybar_l/Main/config.jsonc @@ -0,0 +1,87 @@ +{ + "height": 25, + "modules-left": ["hyprland/workspaces"], + "modules-center": [ + "custom/clock" + ], + "modules-right": [ + "tray", + "custom/d", + "wireplumber", + "custom/d", + "bluetooth", + "custom/d", + "network", + "battery" + ], + + "custom/d": { + "format": " 󰇝 ", + "tooltip": false + }, + "hyprland/workspaces": { + "disable-scroll": false, + "current-only": false, + "all-outputs": true, + "format": "{name}", + "format": { + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5" + } + }, + "tray": { + "icon-size": 14 + }, + "wireplumber": { + "format": "{volume}% {icon}", + "format-muted": " ", + "on-click": "pavucontrol ", + "format-icons": [" ", " ", " "] + }, + "bluetooth": { + // "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system + "format": " 󰂯 ", + "format-disabled": "", // an empty format will hide the module + "format-connected": "  {num_connections}", + "tooltip-format": "{controller_alias}\t{controller_address}", + "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}", + "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", + "on-click": "blueberry", + "cursor": false + }, + "backlight": { // "device": "acpi_video1", + "format": "{icon} ", + "format-icons": [ + "󰃚 ", + "󰃛 ", + "󰃜 ", + "󰃜 ", + "󰃜 ", + "󰃝 ", + "󰃞 ", + "󰃟 ", + "󰃠 " + ], + "reverse-scrolling": true, + "tooltip-format": "Brightness: {percent}%", + "cursor": false + }, + "custom/clock": { + "exec": "date +'%I:%M'", + "on-click": "month", + "on-click-right": "schedule", + "interval": 60 + }, + "network": { + /* "format-wifi": "直", */ + "format-wifi": "{icon} ", + "format-ethernet": " 󰛳 ", + "format-disconnected": " 󰅛 ", + "tooltip-format": "{essid}", + "on-click": "", + "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] + } +} diff --git a/configs/waybar_l/Main/style.css b/configs/waybar_l/Main/style.css new file mode 100644 index 0000000..e2c5c45 --- /dev/null +++ b/configs/waybar_l/Main/style.css @@ -0,0 +1,69 @@ +@define-color background #282A2E; +@define-color foreground #C5C8C6; +@define-color focused #fc893a; +@define-color unfocused #edf0ef; +@define-color occupied #F18850; +@define-color urgent #f7768e; + +* { + font-family: "IosevkaTerm Nerd Font"; + font-size: 24px; + min-height: 0px; +} + +window#waybar { + color: @foreground; + background: @background; +} + +#workspaces button { + padding: 2 14px; + color: @unfocused; + border-radius: 0px; +} + +#workspaces button:hover { + box-shadow: inherit; + text-shadow: inherit; + background: inherit; +} + +#workspaces button.occupied { + color: @occupied; + font-weight: bold; +} + +#workspaces button.active { + color: @focused; +} + +#workspaces button.focused { + color: @focused; +} + +#workspaces button.urgent { + color: @urgent; +} + +.modules-left { + margin: 0px 0 0 0px; +} + +.modules-right { + margin: 0px 0 0 0px; +} + +#workspaces { + padding-right: 10px; + margin-left: 10px; +} + +#tray { + margin-left: 8px; + font-size: 40px; +} +#battery, +#network, +#custom-clock { + padding: 0px 8px; +}