Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Waybar Nick's modules/home/gui/desktop/wayland/waybar/config
- programs.waybar = {
- enable = true;
- settings = [
- {
- layer = "top";
- position = "bottom";
- height = 5;
- spacing = 10;
- modules-left = [
- "custom/launcher"
- "custom/exit"
- ];
- modules-center = [ "hyprland/workspaces" ];
- modules-right = [
- "bluetooth"
- "tray"
- "privacy"
- "pulseaudio"
- "battery"
- "network"
- "clock"
- ];
- "custom/launcher" = {
- format = "";
- on-click = "fuzzel";
- tooltip = false;
- };
- "custom/exit" = {
- format = "";
- on-click = "wlogout";
- tooltip-format = "Power Menu";
- };
- "hyprland/workspaces" = {
- active-only = false;
- disable-scroll = true;
- format = "{icon}";
- on-click = "activate";
- format-icons = {
- "1" = "◉";
- "2" = "◉";
- "3" = "◉";
- "4" = "◉";
- "5" = "◉";
- urgent = "";
- default = "◉";
- sort-by-number = true;
- };
- persistent-workspaces = {
- "1" = [ ];
- "2" = [ ];
- "3" = [ ];
- "4" = [ ];
- "5" = [ ];
- };
- };
- "bluetooth" = {
- format = "{status}";
- format-disabled = "";
- format-off = "";
- interval = 30;
- on-click = "blueman-applet";
- format-no-controller = "";
- };
- "tray" = {
- icon-size = 12;
- spacing = 8;
- };
- "privacy" = {
- icon-spacing = 8;
- icon-size = 12;
- transition-duration = 250;
- modules = {
- screenshare = {
- type = "screenshare";
- tooltip = true;
- tooltip-icon-size = 12;
- };
- audio-out = {
- type = "audio-out";
- tooltip = true;
- tooltip-icon-size = 12;
- };
- audio-in = {
- type = "audio-in";
- tooltip = true;
- tooltip-icon-size = 12;
- };
- };
- };
- "pulseaudio" = {
- format = "{icon} {volume}%";
- tooltip = false;
- format-muted = " Muted";
- on-click = "pavucontrol";
- on-scroll-up = "pactl set-sink-volume @DEFAULT_SINK@ +5%";
- on-scroll-down = "pactl set-sink-volume @DEFAULT_SINK@ -5%";
- scroll-step = 5;
- format-icons = {
- headphone = "";
- hands-free = "";
- headset = "";
- phone = "";
- portable = "";
- car = "";
- default = [
- ""
- ""
- ""
- ];
- };
- };
- "battery" = {
- format = "{icon} {capacity}%";
- format-alt = "{icon} {time}";
- format-charging = " {capacity}%";
- format-icons = [
- ""
- ""
- ""
- ""
- ""
- ];
- format-plugged = " {capacity}%";
- states = {
- critical = 15;
- warning = 30;
- };
- };
- "network" = {
- format-wifi = " {signalStrength}%";
- format-ethernet = " ";
- tooltip-format = "Connected to {essid} {ifname} via {gwaddr}";
- format-linked = "{ifname} (No IP)";
- format-disconnected = " ";
- };
- "clock" = {
- calendar = {
- format = {
- today = "<span color='#ff6699'><b><u>{}</u></b></span>";
- };
- };
- format = " {:%H:%M}";
- tooltip = true;
- tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
- format-alt = " {:%d/%m}";
- };
- }
- ];
- style = ''
- * {
- min-height: 34px;
- border-radius:0;
- font-family: "TeX Gyre Termes";
- font-weight: bold;
- }
- window#waybar {
- background: #262626;
- color: #d197d9;
- border: 2px solid;
- border-radius: 30px;
- border-color: #d197d9;
- opacity: 0.7;
- }
- #workspaces {
- font-size: 18px;
- padding-left: 5px;
- margin-bottom: 0px;
- }
- #workspaces button {
- color: #a0a09f;
- padding: 0px 5px 0px 5px;
- opacity: 1;
- }
- #workspaces button.active {
- color: #a0a09f;
- }
- #privacy {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #tray {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #pulseaudio {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #clock {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #battery {
- font-size: 3;
- color: #a0a09f;
- padding-right: 10px;
- }
- #custom-launcher {
- font-size: 20px;
- color: #a0a09f;
- font-weight: bold;
- padding-left: 10px;
- padding-right: 10px;
- }
- '';
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement