Merge Arch config as main #1
13 changed files with 83 additions and 137 deletions
106
waybar/style.css
106
waybar/style.css
|
|
@ -9,6 +9,7 @@
|
||||||
*/
|
*/
|
||||||
@import url('./styles/waybar.css');
|
@import url('./styles/waybar.css');
|
||||||
@import url('./styles/animations.css');
|
@import url('./styles/animations.css');
|
||||||
|
@import url('./styles/common.css');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Modules
|
* Modules
|
||||||
|
|
@ -18,66 +19,12 @@
|
||||||
@import url('./styles/modules/idle.css');
|
@import url('./styles/modules/idle.css');
|
||||||
@import url('./styles/modules/memory.css');
|
@import url('./styles/modules/memory.css');
|
||||||
@import url('./styles/modules/network.css');
|
@import url('./styles/modules/network.css');
|
||||||
|
@import url('./styles/modules/spotify.css');
|
||||||
@import url('./styles/modules/temperature.css');
|
@import url('./styles/modules/temperature.css');
|
||||||
@import url('./styles/modules/tray.css');
|
@import url('./styles/modules/tray.css');
|
||||||
@import url('./styles/modules/window.css');
|
|
||||||
@import url('./styles/modules/wireplumber.css');
|
@import url('./styles/modules/wireplumber.css');
|
||||||
@import url('./styles/modules/workspaces.css');
|
@import url('./styles/modules/workspaces.css');
|
||||||
|
|
||||||
/*
|
|
||||||
window#waybar.empty {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
window#waybar.solo {
|
|
||||||
background-color: #FFFFFF;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
button {
|
|
||||||
/* Use box-shadow instead of border so the text isn't offset */
|
|
||||||
box-shadow: inset 0 -3px transparent;
|
|
||||||
/* Avoid rounded borders under each button name */
|
|
||||||
border: none;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
||||||
button:hover {
|
|
||||||
background: inherit;
|
|
||||||
/*box-shadow: inset 0 -1px #5e81ac;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#clock,
|
|
||||||
#cpu,
|
|
||||||
#memory,
|
|
||||||
#temperature,
|
|
||||||
#network,
|
|
||||||
#wireplumber,
|
|
||||||
#custom-media,
|
|
||||||
#tray,
|
|
||||||
#idle_inhibitor,
|
|
||||||
#scratchpad,
|
|
||||||
#mpd {
|
|
||||||
padding: 0 10px;
|
|
||||||
color: #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
#window,
|
|
||||||
#workspaces {
|
|
||||||
margin: 0 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
|
||||||
.modules-left > widget:first-child > #workspaces {
|
|
||||||
margin-left: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If workspaces is the rightmost module, omit right margin */
|
|
||||||
.modules-right > widget:last-child > #workspaces {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
@keyframes blink {
|
||||||
to {
|
to {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|
@ -85,52 +32,3 @@ button:hover {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
label:focus {
|
|
||||||
background-color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd {
|
|
||||||
background-color: #66cc99;
|
|
||||||
color: #2a5c45;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.disconnected {
|
|
||||||
background-color: #f53c3c;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.stopped {
|
|
||||||
background-color: #90b1b1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpd.paused {
|
|
||||||
background-color: #51a37a;
|
|
||||||
}
|
|
||||||
|
|
||||||
#scratchpad {
|
|
||||||
background: rgba(0, 0, 0, 0.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
#scratchpad.empty {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy-item {
|
|
||||||
padding: 0 5px;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy-item.screenshare {
|
|
||||||
background-color: #cf5700;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy-item.audio-in {
|
|
||||||
background-color: #1ca000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#privacy-item.audio-out {
|
|
||||||
background-color: #0069d4;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,18 @@
|
||||||
.module-base {
|
|
||||||
|
button {
|
||||||
|
/* Use box-shadow instead of border so the text isn't offset */
|
||||||
|
box-shadow: inset 0 -3px transparent;
|
||||||
|
/* Avoid rounded borders under each button name */
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||||
|
button:hover {
|
||||||
|
background: inherit;
|
||||||
|
box-shadow: inset 0 -1px #5e81ac;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
color: #ddd
|
color: #ddd
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,4 @@
|
||||||
@import url('../common.css');
|
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
border: solid 1px #5e81ac;
|
color: white;
|
||||||
border-radius: 9999px;
|
|
||||||
padding: 0 10px;
|
|
||||||
color: #eee;
|
|
||||||
background: linear-gradient(144deg, #8fbcbb 0%, #5e81ac 100%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
#cpu {
|
#cpu {
|
||||||
padding: 0 10px;
|
color: white;
|
||||||
background-color: #2ecc71;
|
|
||||||
color: #333;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
#idle_inhibitor {
|
#idle_inhibitor {
|
||||||
|
border-radius: 9999px;
|
||||||
background-color: #2d3436;
|
background-color: #2d3436;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
#memory {
|
#memory {
|
||||||
padding: 0 10px;
|
color: white;
|
||||||
color: #ddd;
|
|
||||||
background-color: #9b59b6;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
#network {
|
#network {
|
||||||
padding: 10px;
|
color: #2980b9;
|
||||||
color: #ddd;
|
|
||||||
background-color: #2980b9;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.disconnected {
|
#network.disconnected {
|
||||||
background-color: #f53c3c;
|
color: #f53c3c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
4
waybar/styles/modules/spotify.css
Normal file
4
waybar/styles/modules/spotify.css
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
.custom-spotify {
|
||||||
|
color: #1DB954;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
#temperature {
|
#temperature {
|
||||||
padding: 0 10px;
|
color: #f0932b;
|
||||||
color: #ddd;
|
|
||||||
background-color: #f0932b;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#temperature.critical {
|
#temperature.critical {
|
||||||
background-color: #eb4d4b;
|
color: #eb4d4b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
#wireplumber {
|
#wireplumber {
|
||||||
background-color: #fff0f5;
|
color: white;
|
||||||
padding: 0 10px;
|
|
||||||
color: #000000;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#wireplumber.muted {
|
#wireplumber.muted {
|
||||||
background-color: #f53c3c;
|
color: #f53c3c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,3 +26,13 @@
|
||||||
background-color: #eb4d4b;
|
background-color: #eb4d4b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the leftmost module, omit left margin */
|
||||||
|
.modules-left > widget:first-child > #workspaces {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If workspaces is the rightmost module, omit right margin */
|
||||||
|
.modules-right > widget:last-child > #workspaces {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,5 @@
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background-color: rgba(43, 48, 59, 0.5);
|
background-color: rgba(0, 0, 0, 0.2);
|
||||||
border-bottom: 2px solid rgba(100, 114, 125, 0.5);
|
|
||||||
color: #ffffff;
|
|
||||||
transition-property: background-color;
|
|
||||||
transition-duration: 0.5s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.hidden {
|
window#waybar.hidden {
|
||||||
|
|
@ -19,3 +15,44 @@ window#waybar.chromium {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modules-left {
|
||||||
|
background-color: rgba(43, 48, 59, 0.5);
|
||||||
|
border-bottom: 2px solid rgba(100, 114, 125, 0.5);
|
||||||
|
border-left: 2px solid white;
|
||||||
|
border-radius: 5px;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 0 2px 0 2px;
|
||||||
|
transition-property: background-color;
|
||||||
|
transition-duration: 0.5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.moadules-left:first-child {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-center {
|
||||||
|
background-color: rgba(43, 48, 59, 0.5);
|
||||||
|
border-bottom: 2px solid rgba(100, 114, 125, 0.5);
|
||||||
|
border-radius: 5px;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 0 2px 0 2px;
|
||||||
|
transition-property: background-color;
|
||||||
|
transition-duration: 0.5s;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-right {
|
||||||
|
background-color: rgba(43, 48, 59, 0.5);
|
||||||
|
border-bottom: 2px solid rgba(100, 114, 125, 0.5);
|
||||||
|
border-radius: 5px;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 0 2px 0 2px;
|
||||||
|
transition-property: background-color;
|
||||||
|
transition-duration: 0.5s;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-right:last-child {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue