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, "disable-scroll": true,
"all-outputs": false, "all-outputs": false,
"sort-by-number": true, "sort-by-number": true,
"format": "{name}:{icon}", "format": "{name}"
"format-icons": {
"1": "󰅴",
"2": "󰈹",
"3": "󰻞",
"4": "󰒍",
"urgent": "",
"focused": "",
"default": ""
}
}, },
"sway/workspaces": { "sway/workspaces": {
"on-click": "activate", "on-click": "activate",
"disable-scroll": true, "disable-scroll": true,
"all-outputs": false, "all-outputs": false,
"sort-by-number": true, "sort-by-number": true,
"format": "{name}:{icon}", "format": "{name}"
"format-icons": {
"1": "󰅴",
"2": "󰈹",
"3": "󰻞",
"4": "󰒍",
"urgent": "",
"focused": "",
"default": ""
}
} }
} }

View file

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

View file

@ -180,9 +180,6 @@
windowrule = center, ^(pavucontrol)$ windowrule = center, ^(pavucontrol)$
windowrule = center, ^(.blueman-manager-wrapped)$ windowrule = center, ^(.blueman-manager-wrapped)$
windowrule = move 2% 6%, ^(otpclient)$ 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 = '' xdg.configFile."hypr/macchiato.conf".text = ''
$rosewaterAlpha = f4dbd6 $rosewaterAlpha = f4dbd6

View file

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

View file

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