Changed Waybar
This commit is contained in:
@@ -1,396 +1,151 @@
|
||||
@import "mocha.css";
|
||||
|
||||
/* -- Global rules -- */
|
||||
* {
|
||||
font-family: "JetBrains Mono Nerd Font";
|
||||
/*font-family: "JetBrainsMono Nerd Font";*/
|
||||
font-weight: bold;
|
||||
font-size: 15px;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#custom-notification {
|
||||
font-family: "JetBrains Mono Nerd Font";
|
||||
font-size: 17px;
|
||||
color: #FFFFFF;
|
||||
margin: 2px 0px 0px 0px;
|
||||
border: none;
|
||||
font-family: "JetbrainsMono Nerd Font";
|
||||
font-size: 15px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: shade(@base, 0.9);
|
||||
border: 2px solid alpha(@crust, 0.3);
|
||||
background: @crust;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: #171717;
|
||||
color: #A1BDCE;
|
||||
font-size: 13px;
|
||||
border-radius: 7px;
|
||||
border: 2px solid #101a24;
|
||||
|
||||
|
||||
}
|
||||
#workspaces{
|
||||
background: rgba(23, 23, 23, 0.0);
|
||||
color: #888789;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
border-radius: 9px;
|
||||
transition: 0.2s ease;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding-top: 1px;
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
/* - Genera rules for visible modules -- */
|
||||
#media,
|
||||
#clock,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#network {
|
||||
color: @crust;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
/* Separation to the left */
|
||||
#custom-nixicon,
|
||||
#cpu {
|
||||
margin-left: 5px;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
|
||||
/* Separation to the rigth */
|
||||
#clock,
|
||||
#temperature {
|
||||
margin-right: 20px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}
|
||||
|
||||
/* -- Specific styles -- */
|
||||
|
||||
#custom-nixicon {
|
||||
font-size: 20px;
|
||||
color: @sapphire;
|
||||
background: @overlay1;
|
||||
padding: 0px;
|
||||
padding-right: 15px;
|
||||
padding-left: 10px;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
/* Hardware Group */
|
||||
#clock {
|
||||
background: @yellow;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background: @blue;
|
||||
}
|
||||
|
||||
#memory {
|
||||
background: @red;
|
||||
}
|
||||
|
||||
#disk {
|
||||
background: @peach;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
background: @sky;
|
||||
}
|
||||
|
||||
#network {
|
||||
background: @lavender;
|
||||
padding-right: 13px;
|
||||
}
|
||||
|
||||
/* Workspace */
|
||||
#workspaces {
|
||||
border-radius: 10px;
|
||||
margin: 6px 5px;
|
||||
padding: 0px 6px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
background: rgba(23, 23, 23, 0.0);
|
||||
color: #A1BDCE;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
border-radius: 9px;
|
||||
transition: 0.2s ease;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
/* animation: ws_normal 20s ease-in-out 1; */
|
||||
color: @text;
|
||||
background: transparent;
|
||||
padding: 4px 4px;
|
||||
transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
#workspaces button.occupied {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
|
||||
|
||||
/* background-image: url("/home/anik/Documents/bar1.png");*/
|
||||
color: #FF2A6D;
|
||||
transition: all 0.3s ease;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
/* transition: all 0.4s cubic-bezier(.55,0.68,.48,1.682); */
|
||||
color: @green;
|
||||
text-shadow: 0 0 4px @green;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: none;
|
||||
color: #65DC98;
|
||||
animation: ws_hover 20s ease-in-out 1;
|
||||
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
color: @teal;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
font-size: 4px;
|
||||
padding: 0px;
|
||||
border-radius: 9px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 0px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
margin-right: 0px;
|
||||
color: @wb-color;
|
||||
animation: tb_normal 20s ease-in-out 1;
|
||||
#workspaces button.active:hover {}
|
||||
|
||||
|
||||
|
||||
/* Media Group */
|
||||
#media {
|
||||
background: @overlay2;
|
||||
border-radius: 10px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-color;
|
||||
margin-left: 3px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
margin-right: 3px;
|
||||
animation: tb_active 20s ease-in-out 1;
|
||||
transition: all 0.4s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
min-height: 9px;
|
||||
#custom-cava {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-color;
|
||||
animation: tb_hover 20s ease-in-out 1;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
#wireplumber, #custom-cava, #mpris {
|
||||
margin-left: 10px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#tray menu * {
|
||||
min-height: 16px;
|
||||
font-weight: bold;
|
||||
font-size: 13px;
|
||||
color: #9488e3;
|
||||
}
|
||||
|
||||
#tray menu separator {
|
||||
min-height: 10px
|
||||
#wireplumber {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
|
||||
#custom-spacer{
|
||||
opacity: 0.0;
|
||||
}
|
||||
#custom-smallspacer{
|
||||
opacity: 0.0;
|
||||
}
|
||||
|
||||
|
||||
#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;
|
||||
background: #161320;
|
||||
opacity: 1;
|
||||
margin: 4px 0px 4px 0px;
|
||||
padding-left: 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{
|
||||
color: #FDD870;
|
||||
font-size: 15px;
|
||||
font-weight: 900;
|
||||
font-family: "JetBrains Mono Nerd Font";
|
||||
background: rgba(23, 23, 23, 0.0);
|
||||
opacity: 1;
|
||||
margin: 3px 0px 0px 0px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border: none;
|
||||
|
||||
}
|
||||
#pulseaudio{
|
||||
font-weight: normal;
|
||||
font-size: 18px;
|
||||
color: #0A9CF5;
|
||||
background: rgba(22, 19, 32, 0.0);
|
||||
opacity: 1;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
#cpu{
|
||||
font-weight: normal;
|
||||
font-size: 22px;
|
||||
color: #FF184C;
|
||||
}
|
||||
#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{
|
||||
font-weight: normal;
|
||||
font-size: 22px;
|
||||
color: #1AFE49;
|
||||
}
|
||||
#mpris{
|
||||
color: white;
|
||||
animation: repeat;
|
||||
animation-name: blink;
|
||||
animation-duration: 3s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
color: #4a4a4a;
|
||||
|
||||
}
|
||||
}
|
||||
#network{
|
||||
color: #FF6E27;
|
||||
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,
|
||||
#custom-updates,
|
||||
#custom-wallchange,
|
||||
#custom-wbar,
|
||||
#window{
|
||||
color: #A1BDCE;
|
||||
font-family: "Martian Mono";
|
||||
}
|
||||
#custom-l_end,
|
||||
#custom-r_end,
|
||||
#custom-sl_end,
|
||||
#custom-sr_end,
|
||||
#custom-rl_end,
|
||||
#cava,
|
||||
#upower#headset,
|
||||
#upower{
|
||||
color: #a6d189;
|
||||
}
|
||||
#mpris{
|
||||
font-size: 15px;
|
||||
font-weight: bold
|
||||
}
|
||||
#custom-rr_end {
|
||||
font-weight: normal;
|
||||
color: #E8EDF0;
|
||||
background: rgba(23, 23, 23, 0.0);
|
||||
opacity: 1;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
;
|
||||
|
||||
}
|
||||
|
||||
#backlight-slider slider,
|
||||
#pulseaudio-slider slider {
|
||||
background: #A1BDCE;
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
#backlight-slider trough,
|
||||
#pulseaudio-slider trough {
|
||||
margin-top: -3px;
|
||||
min-width: 90px;
|
||||
min-height: 10px;
|
||||
margin-bottom: -4px;
|
||||
border-radius: 8px;
|
||||
background: #343434;
|
||||
}
|
||||
|
||||
#backlight-slider highlight,
|
||||
#pulseaudio-slider highlight {
|
||||
border-radius: 8px;
|
||||
background-color: #2096C0;
|
||||
}
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
color: #E8EDF0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
#taskbar {
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
#custom-r_end {
|
||||
border-radius: 0px 7px 7px 0px;
|
||||
margin-right: 1px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#custom-l_end {
|
||||
border-radius: 7px 0px 0px 7px;
|
||||
margin-left: 1px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
#custom-sr_end {
|
||||
border-radius: 0px;
|
||||
margin-right: 1px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#custom-sl_end {
|
||||
border-radius: 0px;
|
||||
margin-left: 1px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
#custom-rr_end {
|
||||
border-radius: 0px 7px 7px 0px;
|
||||
margin-right: 1px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#custom-rl_end {
|
||||
border-radius: 7px 0px 0px 7px;
|
||||
margin-left: 1px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
|
||||
/* Style for launchers */
|
||||
|
||||
#custom-expand {
|
||||
min-width: 25px;
|
||||
color: #A1BDCE;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#group-minimized {
|
||||
border-left: solid;
|
||||
border-left-width: 0.5;
|
||||
}
|
||||
|
||||
#custom-quote {
|
||||
padding-top:0px;
|
||||
color: #999999;
|
||||
font-family: "JetBrains Mono Nerd Font";
|
||||
font-size: 13px;
|
||||
/* Weather */
|
||||
#custom-weather {
|
||||
background: @overlay2;
|
||||
border-radius: 10px;
|
||||
margin: 5px 20px;
|
||||
padding: 0px 10px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user