mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 16:23:55 -05:00
waybar: updated config and style
This commit is contained in:
parent
3027a5ffb4
commit
9538606d45
|
@ -44,7 +44,7 @@
|
||||||
font-family: DroidSansM Nerd Font Mono;
|
font-family: DroidSansM Nerd Font Mono;
|
||||||
}
|
}
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: #000;
|
background: rgba (0, 0, 0, 0.5);
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
|
@ -52,10 +52,11 @@
|
||||||
background: #000;
|
background: #000;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
#clock, #battery, #pulseaudio, #bluetooth, #network, #tray {
|
#clock, #battery, #pulseaudio, #bluetooth, #network, #tray, #power-profiles-daemon {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
}
|
}
|
||||||
|
#battery.critical { color: red; }
|
||||||
'';
|
'';
|
||||||
programs.waybar.settings = {
|
programs.waybar.settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
|
@ -66,9 +67,9 @@
|
||||||
"eDP-1"
|
"eDP-1"
|
||||||
"HDMI-A-1"
|
"HDMI-A-1"
|
||||||
];
|
];
|
||||||
modules-left = [ "hyprland/workspaces" "hyprland/mode" ];
|
modules-left = [ "hyprland/workspaces" "hyprland/submap" ];
|
||||||
modules-center = [ "hyprland/window" ];
|
modules-center = [ "hyprland/window" ];
|
||||||
modules-right = [ "tray" "bluetooth" "network" "pulseaudio" "battery" "clock"];
|
modules-right = [ "tray" "bluetooth" "network" "pulseaudio" "battery" "power-profiles-daemon" "clock"];
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
all-outputs = true;
|
all-outputs = true;
|
||||||
|
@ -79,11 +80,14 @@
|
||||||
"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}%";
|
"states" = {
|
||||||
"on-click" = "pp-adjuster";
|
"critical" = 20;
|
||||||
|
};
|
||||||
|
"format" = "{icon}";
|
||||||
|
"format-icons" = ["" "" "" "" ""];
|
||||||
};
|
};
|
||||||
"bluetooth" = {
|
"bluetooth" = {
|
||||||
"format" = " {status}";
|
"format" = " {status}";
|
||||||
|
@ -114,6 +118,17 @@
|
||||||
"tooltip-format-disconnected" = "Disconnected";
|
"tooltip-format-disconnected" = "Disconnected";
|
||||||
"on-click" = "alacritty -e nmtui";
|
"on-click" = "alacritty -e nmtui";
|
||||||
};
|
};
|
||||||
|
"power-profiles-daemon" = {
|
||||||
|
"format" = "{icon}";
|
||||||
|
"tooltip-format" = "Power profile: {profile}\nDriver: {driver}";
|
||||||
|
"tooltip" = true;
|
||||||
|
"format-icons" = {
|
||||||
|
"default" = "";
|
||||||
|
"performance" = "";
|
||||||
|
"balanced" = "";
|
||||||
|
"power-saver" = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue