Move tray to the end of waybar

This commit is contained in:
Evie Litherland-Smith 2023-10-17 06:35:08 +01:00
parent a321334ccd
commit 9523f94833

View file

@ -1,9 +1,7 @@
{ 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;
systemd = { systemd = {
enable = true; enable = true;
target = "hyprland-session.target"; target = "hyprland-session.target";
@ -13,16 +11,13 @@
position = "top"; position = "top";
"modules-left" = [ "hyprland/workspaces" ]; "modules-left" = [ "hyprland/workspaces" ];
"modules-center" = [ "mpris" ]; "modules-center" = [ "mpris" ];
"modules-right" = [ "pulseaudio" "backlight" "battery" "tray" "clock" ]; "modules-right" = [ "pulseaudio" "backlight" "battery" "clock" "tray" ];
"hyprland/workspaces" = import ./modules/hyprland_workspaces.nix; "hyprland/workspaces" = import ./modules/hyprland_workspaces.nix;
mpris = import ./modules/mpris.nix; mpris = import ./modules/mpris.nix;
cpu = import ./modules/cpu.nix;
memory = import ./modules/memory.nix;
temperature = import ./modules/temperature.nix;
clock = import ./modules/clock.nix;
pulseaudio = import ./modules/pulseaudio.nix; pulseaudio = import ./modules/pulseaudio.nix;
backlight = import ./modules/backlight.nix; backlight = import ./modules/backlight.nix;
battery = import ./modules/battery.compact.nix; battery = import ./modules/battery.compact.nix;
clock = import ./modules/clock.nix;
tray = import ./modules/tray.nix; tray = import ./modules/tray.nix;
}; };
}; };