feat: move some waybar stuff around

This commit is contained in:
Ahwx 2024-06-21 09:52:00 +02:00
parent b8ccc8da0b
commit 765a833cb3

View file

@ -1,7 +1,7 @@
{ ... }: { ... }:
{ {
programs.waybar.settings.mainBar = { programs.waybar.settings.mainBar = {
position= "bottom"; position= "top";
layer= "top"; layer= "top";
height= 5; height= 5;
margin-top= 0; margin-top= 0;
@ -9,20 +9,20 @@
margin-left= 0; margin-left= 0;
margin-right= 0; margin-right= 0;
modules-left= [ modules-left= [
"custom/launcher" # "custom/launcher"
"hyprland/workspaces" "hyprland/workspaces"
]; ];
modules-center= [ modules-center= [
"clock" "clock"
]; ];
modules-right= [ modules-right= [
"tray" # "cpu"
"cpu" # "memory"
"memory" # "disk"
"disk"
"pulseaudio" "pulseaudio"
"battery" "battery"
"network" #"network"
"tray"
]; ];
clock= { clock= {
calendar = { calendar = {
@ -39,23 +39,25 @@
format = "{icon}"; format = "{icon}";
on-click= "activate"; on-click= "activate";
format-icons= { format-icons= {
"1"= "󰈹"; "1"= "1";
"2"= ""; "2"= "2";
"3"= "󰘙"; "3"= "3";
"4"= "󰙯"; "4"= "4";
"5"= ""; "5"= "5";
"6"= ""; "6"= "6";
"7"= "7";
"8"= "8";
"9"= "9";
"10"= "10";
urgent= ""; urgent= "";
default = ""; default = "";
sort-by-number= true; sort-by-number= true;
}; };
persistent-workspaces = { # persistent-workspaces = {
"1"= []; # "1"= [];
"2"= []; # "2"= [];
"3"= []; # "3"= [];
"4"= []; # };
"5"= [];
};
}; };
memory= { memory= {
format= "󰟜 {}%"; format= "󰟜 {}%";
@ -81,7 +83,7 @@
}; };
tray= { tray= {
icon-size= 20; icon-size= 20;
spacing= 8; spacing = 2; # was 8 originally
}; };
pulseaudio= { pulseaudio= {
format= "{icon} {volume}%"; format= "{icon} {volume}%";