change waybar config
This commit is contained in:
parent
f2a6bbc305
commit
04766a82c6
|
@ -7,7 +7,7 @@ let
|
||||||
secondary_accent= "89b4fa";
|
secondary_accent= "89b4fa";
|
||||||
tertiary_accent = "f5f5f5";
|
tertiary_accent = "f5f5f5";
|
||||||
background = "11111B";
|
background = "11111B";
|
||||||
opacity = "1";
|
opacity = "0.55";
|
||||||
cursor = "Numix-Cursor";
|
cursor = "Numix-Cursor";
|
||||||
palette = rec {
|
palette = rec {
|
||||||
primary_accent_hex = "cba6f7";
|
primary_accent_hex = "cba6f7";
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
programs.waybar.settings.mainBar = {
|
programs.waybar.settings.mainBar = {
|
||||||
position= "top";
|
position= "top";
|
||||||
layer= "top";
|
layer= "top";
|
||||||
height= 15;
|
# height= 15;
|
||||||
margin-top= 0;
|
margin-top= 0;
|
||||||
margin-bottom= 0;
|
margin-bottom= 0;
|
||||||
margin-left= 0;
|
margin-left= 0;
|
||||||
|
@ -25,7 +25,6 @@
|
||||||
"custom/playerctl#backward"
|
"custom/playerctl#backward"
|
||||||
"custom/playerctl#play"
|
"custom/playerctl#play"
|
||||||
"custom/playerctl#foward"
|
"custom/playerctl#foward"
|
||||||
"custom/playerlabel"
|
|
||||||
];
|
];
|
||||||
modules-center= [
|
modules-center= [
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
|
@ -82,14 +81,6 @@
|
||||||
on-scroll-up = "playerctl volume .05+";
|
on-scroll-up = "playerctl volume .05+";
|
||||||
on-scroll-down = "playerctl volume .05-";
|
on-scroll-down = "playerctl volume .05-";
|
||||||
};
|
};
|
||||||
"custom/playerlabel"= {
|
|
||||||
format= "<span> {} </span>";
|
|
||||||
return-type= "json";
|
|
||||||
max-length= 40;
|
|
||||||
exec = "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F";
|
|
||||||
on-click= "";
|
|
||||||
};
|
|
||||||
|
|
||||||
memory= {
|
memory= {
|
||||||
format= " {}%";
|
format= " {}%";
|
||||||
format-alt= " {used}/{total} GiB";
|
format-alt= " {used}/{total} GiB";
|
||||||
|
|
|
@ -25,18 +25,6 @@
|
||||||
background: ${custom.palette.primary_background_rgba};
|
background: ${custom.palette.primary_background_rgba};
|
||||||
}
|
}
|
||||||
|
|
||||||
#cava.left, #cava.right {
|
|
||||||
background: #${custom.palette.tertiary_background_hex};
|
|
||||||
margin: 5px;
|
|
||||||
padding: 8px 16px;
|
|
||||||
color: #${custom.primary_accent};
|
|
||||||
}
|
|
||||||
#cava.left {
|
|
||||||
border-radius: 24px 10px 24px 10px;
|
|
||||||
}
|
|
||||||
#cava.right {
|
|
||||||
border-radius: 10px 24px 10px 24px;
|
|
||||||
}
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
background: #${custom.palette.tertiary_background_hex};
|
background: #${custom.palette.tertiary_background_hex};
|
||||||
margin: 5px 5px;
|
margin: 5px 5px;
|
||||||
|
@ -123,14 +111,6 @@
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
margin-right: 7px
|
margin-right: 7px
|
||||||
}
|
}
|
||||||
#custom-playerlabel {
|
|
||||||
background: #${custom.palette.tertiary_background_hex};
|
|
||||||
color: #${custom.tertiary_accent};
|
|
||||||
padding: 0 20px;
|
|
||||||
border-radius: 24px 10px 24px 10px;
|
|
||||||
margin: 5px 0;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
#window{
|
#window{
|
||||||
background: #${custom.palette.tertiary_background_hex};
|
background: #${custom.palette.tertiary_background_hex};
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
|
|
Loading…
Reference in a new issue