updated config files
This commit is contained in:
214
waybar/style.css
Normal file
214
waybar/style.css
Normal file
@@ -0,0 +1,214 @@
|
||||
@keyframes blink-warning {
|
||||
70% {
|
||||
color: @light;
|
||||
}
|
||||
|
||||
to {
|
||||
color: @light;
|
||||
background-color: @warning;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blink-critical {
|
||||
70% {
|
||||
color: @light;
|
||||
}
|
||||
|
||||
to {
|
||||
color: @light;
|
||||
background-color: @critical;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Styles
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
/* COLORS */
|
||||
|
||||
/* Nord */
|
||||
@define-color bg #353C4A;
|
||||
@define-color light #eceff4;
|
||||
@define-color dark #2e3440;
|
||||
@define-color warning #ebcb8b;
|
||||
@define-color critical #d08770;
|
||||
@define-color mode #4c566a;
|
||||
@define-color workspaces @bg;
|
||||
@define-color workspacesfocused #434C5E;
|
||||
@define-color tray @workspacesfocused;
|
||||
@define-color sound #46536A;
|
||||
@define-color network #5D7096;
|
||||
@define-color memory #546484;
|
||||
@define-color cpu #596A8D;
|
||||
@define-color temp #4D5C78;
|
||||
@define-color layout #5e81ac;
|
||||
@define-color battery #88c0d0;
|
||||
@define-color date #2e3440;
|
||||
@define-color time #3A4253;
|
||||
@define-color backlight #3F495D;
|
||||
|
||||
/* Reset all styles */
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* The whole bar */
|
||||
#waybar {
|
||||
background: @bg;
|
||||
color: @light;
|
||||
font-family: Noto Sans;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Each module */
|
||||
#battery,
|
||||
#clock,
|
||||
#cpu,
|
||||
#custom-layout,
|
||||
#memory,
|
||||
#mode,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#temperature,
|
||||
#custom-alsa,
|
||||
#tray,
|
||||
#backlight {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
/* Each module that should blink */
|
||||
#mode,
|
||||
#memory,
|
||||
#temperature,
|
||||
#battery {
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
/* Each critical module */
|
||||
#memory.critical,
|
||||
#cpu.critical,
|
||||
#temperature.critical,
|
||||
#battery.critical {
|
||||
color: @critical;
|
||||
}
|
||||
|
||||
/* Each critical that should blink */
|
||||
#mode,
|
||||
#memory.critical,
|
||||
#temperature.critical,
|
||||
#battery.critical.discharging {
|
||||
animation-name: blink-critical;
|
||||
animation-duration: 2s;
|
||||
}
|
||||
|
||||
/* Each warning */
|
||||
#network.disconnected,
|
||||
#memory.warning,
|
||||
#cpu.warning,
|
||||
#temperature.warning,
|
||||
#battery.warning {
|
||||
color: @warning;
|
||||
}
|
||||
|
||||
/* Each warning that should blink */
|
||||
#battery.warning.discharging {
|
||||
animation-name: blink-warning;
|
||||
animation-duration: 3s;
|
||||
}
|
||||
|
||||
/* And now modules themselves in their respective order */
|
||||
|
||||
#mode { /* Shown current Sway mode (resize etc.) */
|
||||
color: @light;
|
||||
background: @mode;
|
||||
}
|
||||
|
||||
/* Workspaces stuff */
|
||||
|
||||
#workspaces {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
#workspaces button {
|
||||
font-weight: bold; /* Somewhy the bar-wide setting is ignored*/
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
color: @light;
|
||||
background: @workspaces;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background: @workspacesfocused;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
border-color: #c9545d;
|
||||
color: #c9545d;
|
||||
}
|
||||
|
||||
#window {
|
||||
margin-right: 40px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
#custom-alsa {
|
||||
background: @sound;
|
||||
}
|
||||
|
||||
#network {
|
||||
background: @network;
|
||||
}
|
||||
|
||||
#memory {
|
||||
background: @memory;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background: @cpu;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
background: @temp;
|
||||
}
|
||||
|
||||
#custom-layout {
|
||||
background: @layout;
|
||||
}
|
||||
|
||||
#battery {
|
||||
background: @battery;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background: @backlight;
|
||||
}
|
||||
|
||||
#clock.date {
|
||||
background: @date;
|
||||
}
|
||||
|
||||
#clock.time {
|
||||
background: @time;
|
||||
}
|
||||
|
||||
#pulseaudio { /* Unsused but kept for those who needs it */
|
||||
background: @sound;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
/* No styles */
|
||||
}
|
||||
|
||||
#tray {
|
||||
background: @tray;
|
||||
}
|
||||
Reference in New Issue
Block a user