Compare commits

..

No commits in common. "1a154850ce69f7a9986ad09f1cc0554b14bf3342" and "571f0fb488cb2acdd226a39ba62277f9dc73a5f0" have entirely different histories.

3 changed files with 11 additions and 76 deletions

View file

@ -157,7 +157,7 @@ layout {
// - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others. // - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others.
// Color of the ring on the active monitor. // Color of the ring on the active monitor.
active-color "#db88c5" active-color "#7fc8ff"
// Color of the ring on inactive monitors. // Color of the ring on inactive monitors.
inactive-color "#505050" inactive-color "#505050"
@ -195,7 +195,7 @@ layout {
// You can enable drop shadows for windows. // You can enable drop shadows for windows.
shadow { shadow {
// Uncomment the next line to enable shadows. // Uncomment the next line to enable shadows.
on // on
// By default, the shadow draws only around its window, and not behind it. // By default, the shadow draws only around its window, and not behind it.
// Uncomment this setting to make the shadow draw behind its window. // Uncomment this setting to make the shadow draw behind its window.
@ -211,7 +211,7 @@ layout {
// window. These will also remove client-side shadows if the window // window. These will also remove client-side shadows if the window
// draws any. // draws any.
// //
draw-behind-window true // draw-behind-window true
// You can change how shadows look. The values below are in logical // You can change how shadows look. The values below are in logical
// pixels and match the CSS box-shadow properties. // pixels and match the CSS box-shadow properties.
@ -319,8 +319,8 @@ window-rule {
// Example: enable rounded corners for all windows. // Example: enable rounded corners for all windows.
// (This example rule is commented out with a "/-" in front.) // (This example rule is commented out with a "/-" in front.)
window-rule { /-window-rule {
geometry-corner-radius 8 geometry-corner-radius 12
clip-to-geometry true clip-to-geometry true
} }

View file

@ -39,8 +39,6 @@ in
}; };
services.gnome-keyring.enable = true; services.gnome-keyring.enable = true;
services.playerctld.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
audacity audacity
customPkgs.cargo-bisect-rustc customPkgs.cargo-bisect-rustc

View file

@ -6,13 +6,7 @@
builtins.toJSON { builtins.toJSON {
height = 35; height = 35;
spacing = 4; spacing = 4;
modules-left = [ "systemd-failed-units" ];
modules-left = [
"systemd-failed-units"
"custom/music-back"
"mpris"
"custom/music-next"
];
modules-center = [ modules-center = [
"clock" "clock"
]; ];
@ -32,25 +26,6 @@
system = true; # Monitor failed systemwide units. system = true; # Monitor failed systemwide units.
user = false; # Ignore failed user units. user = false; # Ignore failed user units.
}; };
"custom/music-back" = {
format = "";
tooltip = true;
tooltip-format = "Play previous song";
on-click = "${lib.getExe pkgs.playerctl} previous";
};
mpris = {
format = "{status_icon} {dynamic}";
dynamic-order = [ "title" "artist" ];
status-icons = {
paused = "";
};
};
"custom/music-next" = {
format = "";
tooltip = true;
tooltip-format = "Play next song";
on-click = "${lib.getExe pkgs.playerctl} next";
};
clock = { clock = {
interval = 1; interval = 1;
format = "{:%a %F %H:%M:%S}"; format = "{:%a %F %H:%M:%S}";
@ -149,56 +124,18 @@
text = '' text = ''
${builtins.readFile ./default-waybar-style.css} ${builtins.readFile ./default-waybar-style.css}
window#waybar { #custom-power {
background: linear-gradient( padding-left: 15px;
to right, padding-right: 15px;
rgb(131, 80, 117) 15%, background-color: rebeccapurple;
rgb(158, 103, 143) 30%,
rgb(131, 80, 117) 45%,
#db88c5
);
color: black;
} }
#systemd-failed-units { #systemd-failed-units {
padding-left: 30px; padding-left: 30px;
padding-right: 30px; padding-right: 30px;
background-color: red; background-color: red;
} }
#mpris {
color: white;
}
#custom-music-back, #custom-music-next {
font-size: 20px;
color: white;
}
#custom-music-back {
padding: 0 10px 0 15px;
}
#custom-music-next {
padding: 0 10px;
}
#clock {
background: unset;
color: white;
}
#privacy *, #pulseaudio, #cpu, #memory, #tray {
background-color: unset;
color: black;
}
#custom-power {
padding-left: 15px;
padding-right: 15px;
font-size: 30px;
background-color: rebeccapurple;
color: white;
}
''; '';
}; };
} }