diff --git a/configs/waybar_l/SurfacePro6/config.jsonc b/configs/waybar_l/SurfacePro6/config.jsonc new file mode 100644 index 0000000..4b0ac50 --- /dev/null +++ b/configs/waybar_l/SurfacePro6/config.jsonc @@ -0,0 +1,144 @@ +{ + "height": 25, + "modules-left": [ + "custom/swww", + "hyprland/workspaces" + ], + "modules-center": [ + "custom/clock" + ], + "modules-right": [ + "tray", + "custom/d", + "wireplumber", + "custom/d", + "idle_inhibitor", + "custom/d", + "backlight", + "custom/d", + "bluetooth", + "custom/d", + "network", + "custom/d", + "battery" + ], + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": "  ", + "deactivated": "  " + } + }, + + "custom/swww": { + "format": " 󰣇 ", + "on-click": "bash ~/.local/bin/random-wall" + }, + + "battery": { + "format": "{icon} {capacity}%", + "format-icons": { + "charging": [ + "󰢜 ", + "󰂆 ", + "󰂇 ", + "󰂈 ", + "󰢝 ", + "󰂉 ", + "󰢞 ", + "󰂊 ", + "󰂋 ", + "󰂅" + ], + "default": [ + "󰁺", + "󰁻", + "󰁼", + "󰁽", + "󰁾", + "󰁿", + "󰂀", + "󰂁", + "󰂂", + "󰁹" + ] + }, + "format-full": "Charged ", + "interval": 5, + "states": { + "warning": 20, + "critical": 10 + }, + "tooltip": false + }, + "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", + "device": "kbd_backlight", + "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/SurfacePro6/style.css b/configs/waybar_l/SurfacePro6/style.css new file mode 100644 index 0000000..61decc1 --- /dev/null +++ b/configs/waybar_l/SurfacePro6/style.css @@ -0,0 +1,70 @@ +@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: "Pragmasevka Nerd Font"; + font-size: 16px; + 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; +} +#backlight, +#battery, +#network, +#custom-clock { + padding: 0px 8px; +}