feat: trying hyprland again

This commit is contained in:
Nick 2025-05-10 16:28:48 -05:00
parent c5fe1e3538
commit cd01d3e40b
11 changed files with 108 additions and 156 deletions

View file

@ -12,13 +12,12 @@ in
margin-left = 5;
margin-right = 5;
modules-left = [
"custom/weather"
# "niri/workspaces"
"custom/launcher"
"hyprland/workspaces"
];
modules-center = [
# "custom/launcher"
"clock"
"custom/weather"
];
modules-right = [
@ -30,7 +29,7 @@ in
"pulseaudio"
# "network"
"battery"
# "clock"
"clock"
];
clock = {
@ -45,24 +44,33 @@ in
format-alt = " {:%d/%m}";
};
# "niri/workspaces" = {
# active-only = false;
# disable-scroll = true;
# format = "{icon}";
# on-click = "activate";
# format-icons = {
# # focused = "◉";
# # active = "◉";
# # empty = "◯";
# # urgent = "";
# # default = "◯";
# # sort-by-number = true;
# };
# };
"hyprland/workspaces" = {
active-only = false;
disable-scroll = true;
format = "{icon}";
on-click = "activate";
format-icons = {
"1" = "";
"2" = "";
"3" = "";
"4" = "";
"5" = "";
urgent = "";
default = "";
sort-by-number = true;
};
persistent-workspaces = {
"1" = [ ];
"2" = [ ];
"3" = [ ];
"4" = [ ];
"5" = [ ];
};
};
memory = {
format = "󰟜 {}%";
format-alt = "󰟜 {used} GiB"; # 
format = " {}%";
format-alt = " {used} GiB"; # 
interval = 2;
};
@ -115,8 +123,7 @@ in
};
"custom/launcher" = {
format = "";
on-click = "rm -r /home/$USER/.cache/tofi* ; tofi-drun";
# on-click-right = "pkill tofi || wallpaper-picker";
on-click = "fuzzel";
tooltip = false;
};

View file

@ -41,7 +41,7 @@ in
''
* {
min-height: 30px;
min-height: 34px;
border-radius: 0;
font-family: ${custom.font};
font-weight: ${custom.font_weight};
@ -58,20 +58,18 @@ in
#workspaces {
font-size: 18px;
padding-left: 15px;
margin-bottom: 2px;
padding-left: 5px;
margin-bottom: 0px;
}
#workspaces button {
color: #${custom.button_color};
padding: 5px 0px 5px 0px;
}
#workspaces button.active {
color: #${custom.text_color};
padding: 0px 5px 0px 5px;
opacity: ${custom.opacityBt};
}
#workspaces button.empty {
color: #${custom.button_color};
color: #${custom.background_3};
}
#workspaces button.focused {
#workspaces button.active {
color: #${custom.text_color};
}
@ -100,7 +98,6 @@ in
}
#clock {
font-size: 14px;
}
#battery {
@ -121,6 +118,5 @@ in
font-size: 14px;
color: #${custom.text_color};
font-weight: ${custom.font_weight};
padding-left: 10px;
}
''