try out hyprland again and waybar changes
This commit is contained in:
@@ -7,7 +7,6 @@ in {
|
||||
enable = true;
|
||||
#enableNvidiaPatches = true;
|
||||
xwayland.enable = true;
|
||||
package = pkgs.hyprland;
|
||||
settings = {
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
@@ -290,7 +289,9 @@ in {
|
||||
|
||||
bind = , escape, submap, reset
|
||||
submap = reset
|
||||
|
||||
'';
|
||||
#experimental:explicit_sync = true
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#other-drawer,
|
||||
#stats,
|
||||
#stats-drawer {
|
||||
margin: 0.5em;
|
||||
margin: 0 0.5em;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
color: @peach;
|
||||
|
||||
@@ -64,10 +64,16 @@ box {
|
||||
}
|
||||
/* Add spacing for right side modules */
|
||||
#pulseaudio,
|
||||
#mpris,
|
||||
#backlight {
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
|
||||
#mpris {
|
||||
font-size: 12px;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#battery.plugged,
|
||||
#battery.full
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#workspaces {
|
||||
margin: 0.5em;
|
||||
margin: 0 0.5em;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
color: @peach;
|
||||
|
||||
@@ -17,7 +17,7 @@ in {
|
||||
#systemd.target = "sway-session.target";
|
||||
settings.main = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
position = "bottom";
|
||||
#output = lib.mapAttrsToList (n: v: v.monitor) outputs;
|
||||
height = 25;
|
||||
spacing = 4;
|
||||
@@ -27,6 +27,15 @@ in {
|
||||
];
|
||||
modules-center = [ ];
|
||||
modules-right = [ "group/stats" "group/other" ];
|
||||
"group/stats" = {
|
||||
"orientation" = "horizontal";
|
||||
"modules" = [ "network" "cpu" "memory" "disk" "temperature" ];
|
||||
};
|
||||
"group/other" = {
|
||||
"orientation" = "horizontal";
|
||||
"modules" =
|
||||
[ "tray" "backlight" "pulseaudio" "mpris" "battery" "clock" ];
|
||||
};
|
||||
"cpu" = {
|
||||
"format" = " {usage}%";
|
||||
"tooltip" = true;
|
||||
@@ -64,11 +73,11 @@ in {
|
||||
"pulseaudio" = {
|
||||
"format" = "{volume}% {icon}";
|
||||
"format-bluetooth" = "{volume}% {icon}";
|
||||
"format-muted" = "🚫";
|
||||
"format-muted" = "";
|
||||
"format-icons" = {
|
||||
"headphone" = "";
|
||||
"hands-free" = "";
|
||||
"headset" = "";
|
||||
"headphone" = " ";
|
||||
"hands-free" = " ";
|
||||
"headset" = " ";
|
||||
"phone" = "";
|
||||
"portable" = "";
|
||||
"car" = "";
|
||||
@@ -99,18 +108,36 @@ in {
|
||||
"battery".states.critical = 15;
|
||||
"battery".format = "{capacity}% / {power:.2}W {icon}";
|
||||
"battery".format-icons = [ "" "" "" "" "" ];
|
||||
"clock".format = "{:%F %H:%M}";
|
||||
"clock".tooltip-format = "<tt><small>{calendar}</small></tt>";
|
||||
"clock" = {
|
||||
format = "{:%F %H:%M}";
|
||||
tooltip-format = "<tt><small>{calendar}</small></tt>";
|
||||
"calendar" = {
|
||||
"mode" = "year";
|
||||
"mode-mon-col" = 3;
|
||||
"weeks-pos" = "right";
|
||||
"on-scroll" = 1;
|
||||
"format" = {
|
||||
"months" = "<span color='#ffead3'><b>{}</b></span>";
|
||||
"days" = "<span color='#ecc6d9'><b>{}</b></span>";
|
||||
"weeks" = "<span color='#99ffdd'><b>W{}</b></span>";
|
||||
"weekdays" = "<span color='#ffcc66'><b>{}</b></span>";
|
||||
"today" = "<span color='#ff6699'><b><u>{}</u></b></span>";
|
||||
};
|
||||
};
|
||||
};
|
||||
"mpris" = {
|
||||
"format" = "{player_icon} {dynamic}";
|
||||
"format-paused" = "{status_icon} <i>{dynamic}</i>";
|
||||
"title-len" = 35;
|
||||
"dynamic-len" = 35;
|
||||
"player-icons" = {
|
||||
"default" = "▶";
|
||||
"mpv" = "🎵";
|
||||
};
|
||||
"status-icons" = { "paused" = "⏸"; };
|
||||
};
|
||||
"tray".icon-size = 21;
|
||||
"tray".spacing = 10;
|
||||
"group/stats" = {
|
||||
"orientation" = "horizontal";
|
||||
"modules" = [ "network" "cpu" "memory" "disk" "temperature" ];
|
||||
};
|
||||
"group/other" = {
|
||||
"orientation" = "horizontal";
|
||||
"modules" = [ "tray" "backlight" "pulseaudio" "battery" "clock" ];
|
||||
};
|
||||
"hyprland/window" = {
|
||||
"format" = "{}";
|
||||
"separate-outputs" = true;
|
||||
|
||||
Reference in New Issue
Block a user