Waybar redesign

This commit is contained in:
Evie Litherland-Smith 2023-06-27 20:57:09 +01:00
parent bfec9159bf
commit f481407aa7
5 changed files with 16 additions and 34 deletions

View file

@ -171,31 +171,13 @@
"disable-scroll": true,
"all-outputs": false,
"sort-by-number": true,
"format": "{name}:{icon}",
"format-icons": {
"1": "󰅴",
"2": "󰈹",
"3": "󰻞",
"4": "󰒍",
"urgent": "",
"focused": "",
"default": ""
}
"format": "{name}"
},
"sway/workspaces": {
"on-click": "activate",
"disable-scroll": true,
"all-outputs": false,
"sort-by-number": true,
"format": "{name}:{icon}",
"format-icons": {
"1": "󰅴",
"2": "󰈹",
"3": "󰻞",
"4": "󰒍",
"urgent": "",
"focused": "",
"default": ""
}
"format": "{name}"
}
}

View file

@ -46,12 +46,12 @@ window#waybar.hidden {
}
/* left section */
#workspaces,
#clock,
#cpu,
#memory,
#temperature,
/* centre section */
#clock,
#workspaces,
/* right section */
#pulseaudio,
#bluetooth,
@ -70,10 +70,9 @@ window#waybar.hidden {
background: @lavender;
}
#workspaces {
#clock {
background: @lavender;
}
#cpu {
background: @pink;
}
@ -83,7 +82,7 @@ window#waybar.hidden {
#temperature {
background: @red;
}
#clock {
#workspaces {
background: @yellow;
}
#pulseaudio {

View file

@ -180,9 +180,6 @@
windowrule = center, ^(pavucontrol)$
windowrule = center, ^(.blueman-manager-wrapped)$
windowrule = move 2% 6%, ^(otpclient)$
windowrule = workspace 2, ^(firefox)$
windowrule = workspace 3 silent, ^(Signal|fractal|discord|teams-for-linux)$
'';
xdg.configFile."hypr/macchiato.conf".text = ''
$rosewaterAlpha = f4dbd6

View file

@ -1,4 +1,8 @@
{pkgs, lib, ...}: {
{
pkgs,
lib,
...
}: {
home.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
bluez
@ -15,13 +19,13 @@
"~/.config/waybar/layout.json"
];
"modules-left" = lib.mkDefault [
"wlr/workspaces"
"clock"
"cpu"
"memory"
"temperature"
];
"modules-center" = lib.mkDefault [
"clock"
"wlr/workspaces"
];
"modules-right" = lib.mkDefault [
"pulseaudio"

View file

@ -36,9 +36,9 @@ in {
"~/.config/waybar/layout.json"
];
"output" = "DP-4";
"modules-left" = ["wlr/workspaces"];
"modules-center" = ["clock#compact"];
"modules-right" = ["tray"];
"modules-left" = [];
"modules-center" = ["wlr/workspaces"];
"modules-right" = [];
};
};
};