update: waybar

This commit is contained in:
wyj
2024-05-26 18:22:25 -04:00
parent 6cf2a43c2c
commit 43e564e47a
3 changed files with 285 additions and 147 deletions
+146 -91
View File
@@ -1,32 +1,33 @@
/*
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
* |___/ |___/
*
* by Stephan Raabe (2023)
* -----------------------------------------------------
* __ __ _ ____ _ _
* \ \ / /_ _ _ _| |__ __ _ _ __ / ___|| |_ _ _| | ___
* \ \ /\ / / _` | | | | '_ \ / _` | '__| \___ \| __| | | | |/ _ \
* \ V V / (_| | |_| | |_) | (_| | | ___) | |_| |_| | | __/
* \_/\_/ \__,_|\__, |_.__/ \__,_|_| |____/ \__|\__, |_|\___|
* |___/ |___/
*
* by Stephan Raabe (2023)
* -----------------------------------------------------
*/
/* -----------------------------------------------------
* Import Pywal colors
* Import Pywal colors
* ----------------------------------------------------- */
/* @import 'style-light.css'; */
/* -----------------------------------------------------
* General
* General
* ----------------------------------------------------- */
* {
font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-family: "Fira Code Nerd Font";
font-weight: 700;
border: none;
border-radius: 0px;
}
window#waybar {
background-color: rgba(0,0,0,0.2);
background-color: rgba(0,0,0,0.1);
border-bottom: 0px solid #ffffff;
/* color: #FFFFFF; */
transition-property: background-color;
@@ -34,29 +35,29 @@ window#waybar {
}
/* -----------------------------------------------------
* Workspaces
* Workspaces
* ----------------------------------------------------- */
#workspaces {
background: @workspacesbackground1;
margin: 5px 10px 6px 0px;
margin: 8px 10px 8px 0px;
padding: 0px 1px;
border-radius: 15px;
border-radius: 10px;
border: 0px;
font-weight: bold;
font-style: normal;
opacity: 0.8;
font-size: 16px;
font-size: 14px;
color: @textcolor1;
}
#workspaces button {
padding: 0px 5px;
margin: 4px 3px;
border-radius: 15px;
margin: 3px;
border-radius: 10px;
border: 0px;
color: @textcolor1;
background-color: @workspacesbackground2;
background: @workspacesbackground2;
transition: all 0.3s ease-in-out;
opacity: 0.4;
}
@@ -64,16 +65,25 @@ window#waybar {
#workspaces button.active {
color: @textcolor1;
background: @workspacesbackground2;
border-radius: 15px;
min-width: 40px;
border-radius: 10px;
min-width: 30px;
transition: all 0.3s ease-in-out;
opacity:1.0;
}
#workspaces button.empty {
border-radius: 10px;
border: 0px;
color: @textcolor1;
background: transparent;
transition: all 0.3s ease-in-out;
opacity: 0.5;
}
#workspaces button:hover {
color: @textcolor1;
background: @workspacesbackground2;
border-radius: 15px;
border-radius: 10px;
opacity:0.7;
}
@@ -98,12 +108,13 @@ tooltip label {
* ----------------------------------------------------- */
#window {
font-family: "Fira Code Semibold";
background: @backgroundlight;
margin: 6px 15px 6px 0px;
padding: 0px 10px 0px 10px;
border-radius: 15px;
margin: 8px 10px 8px 0px;
padding: 0px 8px 0px 8px;
border-radius: 10px;
color:@textcolor2;
font-size:16px;
font-size: 14px;
font-weight:normal;
opacity:0.8;
}
@@ -118,9 +129,9 @@ window#waybar.empty #window {
#taskbar {
background: @backgroundlight;
margin: 6px 10px 6px 0px;
margin: 8px 10px 8px 0px;
padding:0px;
border-radius: 15px;
border-radius: 10px;
font-weight: normal;
font-style: normal;
opacity:0.8;
@@ -129,8 +140,15 @@ window#waybar.empty #window {
#taskbar button {
margin:0;
border-radius: 15px;
border-radius: 10px;
padding: 0px 5px 0px 5px;
opacity: 0.7;
}
#taskbar button.active {
background: @workspacesbackground2;
border-radius: 10px;
opacity:1.0;
}
@@ -138,19 +156,19 @@ window#waybar.empty #window {
* Custom Quicklinks
* ----------------------------------------------------- */
#custom-brave,
#custom-browser,
#custom-keybindings,
#custom-outlook,
#custom-filemanager,
#custom-teams,
#custom-chatgpt,
#custom-calculator,
#custom-windowsvm,
#custom-cliphist,
#custom-wallpaper,
#custom-settings,
#custom-wallpaper,
#custom-brave,
#custom-browser,
#custom-keybindings,
#custom-outlook,
#custom-filemanager,
#custom-teams,
#custom-chatgpt,
#custom-calculator,
#custom-windowsvm,
#custom-cliphist,
#custom-wallpaper,
#custom-settings,
#custom-wallpaper,
#custom-system,
#custom-waybarthemes {
margin-right: 23px;
@@ -159,7 +177,7 @@ window#waybar.empty #window {
opacity: 0.8;
color: @iconcolor;
}
#custom-system {
margin-right:15px;
}
@@ -194,7 +212,7 @@ window#waybar.empty #window {
#idle_inhibitor {
margin-right: 15px;
font-size: 22px;
font-size: 16px;
font-weight: bold;
opacity: 0.8;
color: @iconcolor;
@@ -214,13 +232,13 @@ window#waybar.empty #window {
#custom-appmenu, #custom-appmenuicon {
background-color: @backgrounddark;
font-size: 16px;
font-size: 14px;
color: @textcolor1;
border-radius: 15px;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 6px 10px 6px 10px;
margin: 8px 10px 8px 10px;
opacity:0.8;
border:3px solid @bordercolor;
/* border:3px solid @bordercolor; */
}
#custom-appmenuicon {
@@ -233,10 +251,13 @@ window#waybar.empty #window {
* ----------------------------------------------------- */
#custom-exit {
margin: 0px 15px 0px 0px;
padding:0px;
font-size:20px;
margin: 8px 10px 8px 0px;
padding:0px 14px 0px 10px;
font-size: 14px;
color: @iconcolor;
background: @backgrounddark;
border-radius: 10px;
opacity: 0.8;
}
/* -----------------------------------------------------
@@ -245,9 +266,9 @@ window#waybar.empty #window {
#custom-updates {
background-color: @backgroundlight;
font-size: 16px;
font-size: 14px;
color: @textcolor2;
border-radius: 15px;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
@@ -273,9 +294,9 @@ window#waybar.empty #window {
#custom-youtube {
background-color: @backgroundlight;
font-size: 16px;
font-size: 14px;
color: @textcolor2;
border-radius: 15px;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 15px 8px 0px;
opacity:0.8;
@@ -287,24 +308,43 @@ window#waybar.empty #window {
/* #disk,#memory,#cpu,#language {
background-color: @backgroundlight;
font-size: 16px;
font-size: 14px;
color: @textcolor2;
border-radius: 15px;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
} */
#hardware {
/* #cpu {
color: @color2;
} */
#cpu.warning,#memory.warning{
color: #ff9800;
}
#cpu.critical,#memory.warning{
color: #f44336;
}
#hardware,#hardware2 {
background-color: @backgroundlight;
font-size: 16px;
font-size: 14px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#custom-div {
font-weight: 900;
padding: 0px 2px;
color: @color2;
font-size: 18px;
}
#language {
margin-right:10px;
}
@@ -314,14 +354,14 @@ window#waybar.empty #window {
* ----------------------------------------------------- */
#clock {
background-color: @backgrounddark;
font-size: 16px;
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor1;
border-radius: 15px;
padding: 1px 10px 0px 10px;
margin: 6px 10px 6px 0px;
border-radius: 10px;
padding: 0px 8px 0px 8px;
margin: 8px 10px 8px 0px;
opacity:0.8;
border:3px solid @bordercolor;
/* border:3px solid @bordercolor; */
}
/* -----------------------------------------------------
@@ -329,43 +369,53 @@ window#waybar.empty #window {
* ----------------------------------------------------- */
#pulseaudio {
background-color: @backgroundlight;
font-size: 16px;
/* background-color: @backgroundlight; */
font-size: 14px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
/* border-radius: 10px; */
/* padding: 0px 10px 0px 10px; */
/* margin: 8px 10px 8px 0px; */
/* opacity:0.8; */
}
#pulseaudio.muted {
background-color: @backgrounddark;
/* background-color: @backgrounddark; */
color: @textcolor1;
}
#systems {
background-color: @backgroundlight;
font-size: 14px;
color: @textcolor2;
border-radius: 10px;
padding: 0px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Network
* ----------------------------------------------------- */
/* #network {
background-color: @backgroundlight;
font-size: 16px;
#network {
/* background-color: @backgroundlight; */
font-size: 14px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
/* border-radius: 10px; */
/* padding: 2px 2px 0px 10px; */
/* margin: 8px 10px 8px 0px; */
/* opacity:0.8; */
}
#network.ethernet {
background-color: @backgroundlight;
/* background-color: @backgroundlight; */
color: @textcolor2;
}
#network.wifi {
background-color: @backgroundlight;
/* background-color: @backgroundlight; */
color: @textcolor2;
} */
}
/* -----------------------------------------------------
* Bluetooth
@@ -373,12 +423,12 @@ window#waybar.empty #window {
#bluetooth, #bluetooth.on, #bluetooth.connected {
background-color: @backgroundlight;
font-size: 16px;
font-size: 14px;
color: @textcolor2;
border-radius: 15px;
border-radius: 10px;
padding: 2px 10px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
/* opacity:0.8; */
}
#bluetooth.off {
@@ -393,9 +443,9 @@ window#waybar.empty #window {
#battery {
background-color: @backgroundlight;
font-size: 16px;
font-size: 14px;
color: @textcolor2;
border-radius: 15px;
border-radius: 10px;
padding: 2px 15px 0px 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
@@ -428,8 +478,13 @@ window#waybar.empty #window {
* ----------------------------------------------------- */
#tray {
padding: 0px 10px 0px 0px;
padding: 0px 10px 0px 10px;
color: @textcolor3;
background-color: @backgroundlight;
font-size: 14px;
border-radius: 10px;
margin: 8px 10px 8px 0px;
opacity:0.8;
}
#tray > .passive {