mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 15:03:55 -05:00
hyprland: updated waybar config
This commit is contained in:
parent
2f85e1f526
commit
34b64c4ed3
|
@ -13,10 +13,10 @@
|
||||||
hyprshot
|
hyprshot
|
||||||
mako
|
mako
|
||||||
overskride
|
overskride
|
||||||
|
pavucontrol
|
||||||
|
playerctl
|
||||||
udiskie
|
udiskie
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
playerctl
|
|
||||||
pavucontrol
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.mako = {
|
services.mako = {
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
background: #000;
|
background: #000;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
#clock, #battery, #pulseaudio, #network, #tray {
|
#clock, #battery, #pulseaudio, #bluetooth, #network, #tray {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
}
|
}
|
||||||
|
@ -70,23 +70,35 @@
|
||||||
];
|
];
|
||||||
modules-left = [ "hyprland/workspaces" "hyprland/mode" ];
|
modules-left = [ "hyprland/workspaces" "hyprland/mode" ];
|
||||||
modules-center = [ "hyprland/window" ];
|
modules-center = [ "hyprland/window" ];
|
||||||
modules-right = [ "tray" "network" "pulseaudio" "battery" "clock"];
|
modules-right = [ "tray" "bluetooth" "network" "pulseaudio" "battery" "clock"];
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
all-outputs = true;
|
all-outputs = true;
|
||||||
};
|
};
|
||||||
|
"hyprland/window" = {
|
||||||
|
"max-length" = 150;
|
||||||
|
};
|
||||||
"clock" = {
|
"clock" = {
|
||||||
"tooltip-format" = "{:%Y-%m-%d | %H:%M}";
|
"tooltip-format" = "{:%Y-%m-%d | %H:%M}";
|
||||||
"interval" = 60;
|
"interval" = 60;
|
||||||
"format" = " {:%I:%M%p}";
|
"format" = " {:%I:%M%p}";
|
||||||
};
|
};
|
||||||
"battery" = {
|
"battery" = {
|
||||||
"format" = " {capacity}%";
|
"format" = " {capacity}%";
|
||||||
"on-click" = "pp-adjuster";
|
"on-click" = "pp-adjuster";
|
||||||
|
};
|
||||||
|
"bluetooth" = {
|
||||||
|
"format" = " {status}";
|
||||||
|
"format-disabled" = ""; # an empty format will hide the module
|
||||||
|
"format-connected" = " {num_connections} connected";
|
||||||
|
"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" = "overskride";
|
||||||
};
|
};
|
||||||
"pulseaudio" = {
|
"pulseaudio" = {
|
||||||
"format" = " {volume}%";
|
"format" = " {volume}%";
|
||||||
"format-bluetooth" = "{volume}% {icon}";
|
"format-bluetooth" = "{volume}% {icon}";
|
||||||
"format-muted" = "";
|
"format-muted" = "";
|
||||||
"format-icons"= {
|
"format-icons"= {
|
||||||
"headphones" = "";
|
"headphones" = "";
|
||||||
|
@ -98,6 +110,10 @@
|
||||||
"network" = {
|
"network" = {
|
||||||
"format-wifi" = " {signalStrength}%";
|
"format-wifi" = " {signalStrength}%";
|
||||||
"format-disconnected" = "⚠";
|
"format-disconnected" = "⚠";
|
||||||
|
"tooltip-format" = "{ifname} via {gwaddr} ";
|
||||||
|
"tooltip-format-wifi" = "{essid} ({signalStrength}%) ";
|
||||||
|
"tooltip-format-ethernet" = "{ifname} ";
|
||||||
|
"tooltip-format-disconnected" = "Disconnected";
|
||||||
"on-click" = "alacritty -e nmtui";
|
"on-click" = "alacritty -e nmtui";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue