improvement: waybar cleanup some of the files

This commit is contained in:
Christoph Hollizeck 2024-10-10 23:15:32 +02:00
parent 556bb44729
commit b880b3fcce
2 changed files with 12 additions and 138 deletions

View file

@ -1,5 +1,6 @@
{ {
"layer":"top", "layer":"top",
"height": 42,
"position":"top", "position":"top",
"mod":"dock", "mod":"dock",
"margin-left":10, "margin-left":10,
@ -71,20 +72,16 @@
] ]
}, },
"tray":{ "tray":{
"icon-size":15, "icon-size":18,
"rotate":0, "rotate":0,
"spacing":3 "spacing":3
}, },
"custom/menu":{
"format":" ",
"rotate":90
},
"hyprland/window":{ "hyprland/window":{
"format":"<span weight='bold' >{initialTitle}</span>", "format":"<span weight='bold' >{initialTitle}</span>",
"max-length":120, "max-length":120,
"separate-outputs":true, "separate-outputs":true,
"icon":false, "icon":false,
"icon-size":13 "icon-size":18
}, },
"custom/spacer":{ "custom/spacer":{
"format":"|" "format":"|"

View file

@ -2,14 +2,7 @@
font-family: "JetBrains Mono Nerd Font"; font-family: "JetBrains Mono Nerd Font";
/*font-family: "JetBrainsMono Nerd Font";*/ /*font-family: "JetBrainsMono Nerd Font";*/
font-weight: bold; font-weight: bold;
font-size: 15px; font-size: 16px;
}
#custom-notification {
font-family: "JetBrains Mono Nerd Font";
font-size: 17px;
color: #A1BDCE;
margin: 2px 0px 0px 0px;
} }
window#waybar { window#waybar {
@ -56,11 +49,7 @@ background: rgba(23, 23, 23, 0.0);
/* animation: ws_normal 20s ease-in-out 1; */ /* animation: ws_normal 20s ease-in-out 1; */
} }
#workspaces button.active { #workspaces button.active {
/* background-image: url("/home/anik/Documents/bar1.png");*/ /* background-image: url("/home/anik/Documents/bar1.png");*/
color: #A1BDCE; color: #A1BDCE;
transition: all 0.3s ease; transition: all 0.3s ease;
@ -123,41 +112,13 @@ background: rgba(23, 23, 23, 0.0);
#custom-spacer{ #custom-spacer{
opacity: 0.0; opacity: 0.0;
} }
#custom-smallspacer{ #custom-smallspacer{
opacity: 0.0; opacity: 0.0;
} }
#bluetooth {
#custom-mouse{
font-size: 14px;
margin-bottom: 6px;
background: #161320;
}
#custom-power{
font-size: 15px;
color: #FFFFFF;
background: rgba(22, 19, 32, 0.9);
margin: 6px 0px 6px 0px;
padding-left: 4px;
padding-right: 4px;
}
#backlight{
color: #2096C0;
background: rgba(23, 23, 23, 0.0);
font-weight: normal;
font-size: 19px;
margin: 1px 0px 0px 0px;
padding-left: 0px;
padding-right: 2px;
}
#bluetooth,
#custom-cliphist{
color: #E6E7E7; color: #E6E7E7;
background: #161320; background: #161320;
opacity: 1; opacity: 1;
@ -166,27 +127,7 @@ background: #161320;
padding-right: 4px; padding-right: 4px;
} }
#battery{
font-weight: normal;
font-size: 22px;
color: #a6d189;
background: rgba(23, 23, 23, 0.0);
opacity: 1;
margin: 0px 0px 0px 0px;
padding-left: 0px;
padding-right: 0px;
}
#idle_inhibitor{
color: #24966e;
background: @bar-bg;
opacity: 1;
margin: 4px 0px 4px 0px;
padding-left: 4px;
padding-right: 4px;
}
#clock{ #clock{
color: #A1BDCE; color: #A1BDCE;
font-size: 15px; font-size: 15px;
@ -200,9 +141,10 @@ background: @bar-bg;
border: none; border: none;
} }
#pulseaudio{ #pulseaudio{
font-weight: normal; font-weight: normal;
font-size: 18px; font-size: 20px;
color: #6F8FDB; color: #6F8FDB;
background: rgba(22, 19, 32, 0.0); background: rgba(22, 19, 32, 0.0);
opacity: 1; opacity: 1;
@ -210,37 +152,17 @@ color: #6F8FDB;
padding-left: 3px; padding-left: 3px;
padding-right: 3px; padding-right: 3px;
} }
#cpu{ #cpu{
font-weight: normal; font-weight: normal;
font-size: 22px; font-size: 24px;
color: #915CAF; color: #915CAF;
} }
#custom-led{
background: #427287;
color: #FFFFFF;
margin-top: 7px;
margin-bottom: 7px;
padding-left: 6px;
border-radius: 7px;
margin-right: 6px;
}
#custom-gpuinfo,
#custom-keybindhint,
#language,
#memory{ #memory{
font-weight: normal; font-weight: normal;
font-size: 22px; font-size: 24px;
color: #E4C9AF; color: #E4C9AF;
} }
#mpris{
color: white;
animation: repeat;
animation-name: blink;
animation-duration: 3s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes blink { @keyframes blink {
to { to {
@ -248,29 +170,7 @@ animation: repeat;
} }
} }
#network{
color: #A1BDCE;
font-weight: normal;
font-size: 19px;
padding-right: 0px;
padding-left: 4px
}
#custom-notifications,
#custom-spotify,
#taskbar,
#custom-theme,
#custom-menu{
color: #E8EDF0;
background: rgba(23, 23, 23, 0.0);
margin: 0px 0px 0px 0px;
padding-left: 1px;
padding-right: 1px;
opacity: 0.1
}
#tray, #tray,
#custom-updates,
#custom-wallchange,
#custom-wbar,
#window{ #window{
color: #A1BDCE; color: #A1BDCE;
font-family: "Martian Mono"; font-family: "Martian Mono";
@ -280,15 +180,10 @@ font-family: "Martian Mono";
#custom-sl_end, #custom-sl_end,
#custom-sr_end, #custom-sr_end,
#custom-rl_end, #custom-rl_end,
#cava,
#upower#headset, #upower#headset,
#upower{ #upower{
color: #a6d189; color: #a6d189;
} }
#mpris{
font-size: 15px;
font-weight: bold
}
#custom-rr_end { #custom-rr_end {
font-weight: normal; font-weight: normal;
color: #E8EDF0; color: #E8EDF0;
@ -301,7 +196,6 @@ font-weight: normal;
} }
#backlight-slider slider,
#pulseaudio-slider slider { #pulseaudio-slider slider {
background: #A1BDCE; background: #A1BDCE;
background-color: transparent; background-color: transparent;
@ -309,7 +203,6 @@ font-weight: normal;
margin-right: 7px; margin-right: 7px;
} }
#backlight-slider trough,
#pulseaudio-slider trough { #pulseaudio-slider trough {
margin-top: -3px; margin-top: -3px;
min-width: 90px; min-width: 90px;
@ -319,23 +212,11 @@ font-weight: normal;
background: #343434; background: #343434;
} }
#backlight-slider highlight,
#pulseaudio-slider highlight { #pulseaudio-slider highlight {
border-radius: 8px; border-radius: 8px;
background-color: #2096C0; background-color: #2096C0;
} }
#battery.charging, #battery.plugged {
color: #E8EDF0;
}
#battery.critical:not(.charging) {
color: red;
}
#taskbar { #taskbar {
padding: 1px; padding: 1px;
} }
@ -385,7 +266,3 @@ font-weight: normal;
font-size: 16px; font-size: 16px;
} }
#group-minimized {
border-left: solid;
border-left-width: 0.5;
}