Switch back to waybar for now

Update styling, disable stylix for waybar
This commit is contained in:
Evie Litherland-Smith 2023-10-13 07:39:49 +01:00
parent 0741552b1a
commit 9c6ebafcf3
3 changed files with 17 additions and 15 deletions

View file

@ -281,8 +281,7 @@ in ''
bindm = SUPER, mouse:272, movewindow bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow bindm = SUPER, mouse:273, resizewindow
# exec-once = ${pkgs.waybar}/bin/waybar exec-once = ${pkgs.waybar}/bin/waybar
exec-once = ${pkgs.ironbar}/bin/ironbar
exec-once = ${pkgs.swaynotificationcenter}/bin/swaync exec-once = ${pkgs.swaynotificationcenter}/bin/swaync
exec-once = ${pkgs.hyprpaper}/bin/hyprpaper exec-once = ${pkgs.hyprpaper}/bin/hyprpaper
exec-once = ${pkgs.dex}/bin/dex --autostart exec-once = ${pkgs.dex}/bin/dex --autostart

View file

@ -1,8 +1,9 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = with pkgs; [ networkmanagerapplet bluez ]; home.packages = with pkgs; [ networkmanagerapplet bluez ];
stylix.targets.waybar.enable = false;
programs.waybar = { programs.waybar = {
enable = true; enable = true;
# style = ./style.css; style = ./style.css;
settings.main = { settings.main = {
layer = "top"; layer = "top";
position = "top"; position = "top";

View file

@ -30,16 +30,20 @@
@define-color rosewater #f4dbd6; @define-color rosewater #f4dbd6;
* { * {
border: none; /* border: none; */
border-radius: 0px; /* border-radius: 0px; */
margin: 0px; /* margin: 0px; */
background: transparent; /* background: transparent; */
color: @text; /* color: @text; */
font-family: "Fira Sans"; font-family: "Fira Sans";
font-size: 18px; font-size: 18px;
} }
window { background: transparent; }
window > box { window > box {
color: @text;
background: rgba(36, 39, 58, 0.5);
margin-left: 10px; margin-left: 10px;
margin-right: 10px; margin-right: 10px;
border-left: 1px solid @surface2; border-left: 1px solid @surface2;
@ -49,10 +53,10 @@ window > box {
border-top-right-radius: 0px; border-top-right-radius: 0px;
border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px; border-bottom-right-radius: 10px;
background: rgba(36, 39, 58, 0.5);
} }
tooltip { tooltip {
color: @text;
background: rgba(36, 39, 58, 0.5); background: rgba(36, 39, 58, 0.5);
box-shadow: inset 0 0 0 1px rgba(183, 189, 248, 0.1), 0 0 0 1px rgba(36, 39, 58, 0.5); box-shadow: inset 0 0 0 1px rgba(183, 189, 248, 0.1), 0 0 0 1px rgba(36, 39, 58, 0.5);
border: 1px solid @lavender; border: 1px solid @lavender;
@ -65,23 +69,21 @@ tooltip {
#memory, #memory,
#temperature, #temperature,
#clock, #clock,
#mpris,
#pulseaudio, #pulseaudio,
#bluetooth, #bluetooth,
#network, #network,
#backlight, #backlight,
#battery, #battery,
#tray { #tray {
color: @text;
margin: 0px; margin: 0px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
} }
#workspaces button { #workspaces button { color: @surface2; }
border-top: 1px solid transparent;
border-radius: 0px;
color: @overlay0;
}
#workspaces button.active { color: @text; } #workspaces button.active { color: @lavender; }
#workspaces button.urgent { color: @red; } #workspaces button.urgent { color: @red; }