1
1
mirror of https://github.com/nboughton/dotfiles synced 2024-11-26 13:33:54 +01:00
github.com-nboughton-dotfiles/waybar/style.css

136 lines
2.0 KiB
CSS
Raw Normal View History

2021-03-17 13:27:23 +01:00
@import "/home/nick/.cache/wal/colors-waybar.css";
2021-02-17 15:54:42 +01:00
2021-06-05 16:25:29 +02:00
/* Colorz/haishoku generally work well */
2021-06-16 15:20:24 +02:00
@define-color text @foreground;
2021-03-28 04:55:58 +02:00
@define-color warn @color5;
2021-03-20 16:36:25 +01:00
@define-color crit @color6;
2021-03-28 04:55:58 +02:00
@define-color accent @color4;
2021-03-29 11:02:26 +02:00
@define-color hilight @color5;
2021-05-12 14:48:41 +02:00
2021-06-16 15:20:24 +02:00
/* Nord
@define-color text @foreground;
@define-color warn @color6;
@define-color crit @color2;
@define-color accent @color4;
@define-color hilight @color1;
*/
2021-06-05 16:25:29 +02:00
/* Gruvbox
2021-05-12 14:48:41 +02:00
@define-color text @foreground;
@define-color warn @color3;
@define-color crit @color1;
@define-color accent @color2;
2021-05-12 15:36:12 +02:00
@define-color hilight @color6;
2021-06-05 16:25:29 +02:00
*/
2021-03-18 12:46:27 +01:00
2020-11-20 21:33:51 +01:00
* {
2021-06-16 15:20:24 +02:00
font-size: 10px;
font-family: "Source Code Pro Medium", "Font Awesome 5 Free";
font-weight: bold;
border-radius: 20px;
2020-11-20 21:33:51 +01:00
}
window#waybar {
2021-03-18 12:46:27 +01:00
color: @text;
2021-06-01 21:18:26 +02:00
background: @background;
2020-11-20 21:33:51 +01:00
}
2021-05-14 13:18:53 +02:00
.modules-left,
.modules-center,
.modules-right {
2021-03-28 04:55:58 +02:00
margin: 0;
2021-05-14 13:18:53 +02:00
padding: 0;
2020-11-20 21:33:51 +01:00
}
/* Base styling for modules */
2020-11-20 21:33:51 +01:00
#workspaces,
#mode,
#idle_inhibitor,
#pulseaudio,
#memory,
#cpu,
#clock,
#battery,
#backlight,
#disk,
2021-06-01 21:18:26 +02:00
#custom-weather,
2020-12-14 11:48:41 +01:00
#custom-updates,
#custom-auroch,
2020-11-20 21:33:51 +01:00
#custom-swap,
2020-12-02 00:53:24 +01:00
#custom-separator,
2021-06-01 21:18:26 +02:00
#custom-powermenu,
2021-02-17 15:54:42 +01:00
#custom-covid,
2020-11-20 21:33:51 +01:00
#tray {
2021-06-16 15:20:24 +02:00
padding: 6px 10px 5px 10px;
2020-12-02 00:53:24 +01:00
}
#custom-separator {
2020-12-17 17:55:51 +01:00
opacity: 0;
2021-02-05 17:55:24 +01:00
padding: 0px;
2020-11-20 21:33:51 +01:00
}
#workspaces {
padding: 0px;
}
#workspaces button {
2021-03-18 12:46:27 +01:00
color: @text;
2021-02-19 11:18:04 +01:00
margin: 0;
2021-06-05 16:25:29 +02:00
padding: 0px 10px 0px 10px;
2021-06-01 21:18:26 +02:00
border-radius: 0px;
}
#workspaces button.focused {
2021-03-18 12:46:27 +01:00
color: @hilight;
}
2020-11-20 21:33:51 +01:00
#mode {
2021-03-18 12:46:27 +01:00
color: @warn;
2020-11-20 21:33:51 +01:00
}
#disk.1,
2021-06-01 21:18:26 +02:00
#memory {
2021-02-05 17:55:24 +01:00
padding-right: 5px;
2020-11-20 21:33:51 +01:00
}
#disk.2,
2021-02-05 17:55:24 +01:00
#custom-swap,
#custom-auroch {
padding-left: 5px;
}
2021-02-17 15:54:42 +01:00
#battery.warning,
2021-03-17 13:27:23 +01:00
#custom-covid.UP,
2021-02-17 15:54:42 +01:00
#cpu.warning,
2020-12-17 16:33:00 +01:00
#custom-updates.checking,
2021-02-17 15:54:42 +01:00
#custom-auroch.checking,
#disk.1.warning,
#disk.2.warning,
#memory.warning {
2021-03-18 12:46:27 +01:00
color: @warn;
2021-02-17 15:54:42 +01:00
}
2021-02-23 15:57:29 +01:00
2021-02-17 15:54:42 +01:00
#battery.critical,
#cpu.critical,
#custom-auroch.error,
2021-02-23 15:57:29 +01:00
#custom-updates.error,
2021-02-17 15:54:42 +01:00
#disk.1.critical,
#disk.2.critical,
#memory.critical {
2021-03-18 12:46:27 +01:00
color: @crit;
2020-12-17 16:33:00 +01:00
}
2021-02-17 15:54:42 +01:00
2021-02-23 15:57:29 +01:00
#custom-auroch.no-updates,
#custom-covid.DOWN,
#custom-updates.no-updates {
2021-03-18 12:46:27 +01:00
color: @text;
2020-12-07 22:34:52 +01:00
}
2020-12-14 11:48:41 +01:00
#custom-updates.updates,
#custom-auroch.updates {
2021-03-20 16:36:25 +01:00
color: @hilight;
2020-12-04 16:52:49 +01:00
}
2020-11-20 21:33:51 +01:00
2021-06-16 15:20:24 +02:00
#custom-powermenu {
margin-right: 3px;
}
#clock {
margin-left: 3px;
}