1
1
mirror of https://github.com/nboughton/dotfiles synced 2024-11-29 20:18:11 +01:00
github.com-nboughton-dotfiles/waybar/style.css

167 lines
2.5 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-05-12 14:48:41 +02:00
/* Colorz/haishoku generally work well
2021-03-29 11:02:26 +02:00
@define-color text @color3;
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
*/
/* Gruvbox */
@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-03-18 12:46:27 +01:00
2020-11-20 21:33:51 +01:00
* {
2021-02-17 15:54:42 +01:00
font-size: 12px;
2021-04-23 09:43:30 +02:00
/*font-family: "Source Code Pro Medium", "Font Awesome 5 Free";*/
font-family: "Kanit Medium", "Font Awesome 5 Free";
2020-11-20 21:33:51 +01:00
}
window#waybar {
2021-03-18 12:46:27 +01:00
color: @text;
2021-05-12 14:48:41 +02:00
border-radius: 4px;
2020-11-20 21:33:51 +01:00
}
2021-05-12 14:48:41 +02:00
window#waybar.bottom {
/*background: none;*/
2021-03-28 04:55:58 +02:00
background: @background;
2021-02-17 15:54:42 +01:00
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top: none;
2021-03-28 04:55:58 +02:00
margin: 0;
2020-11-20 21:33:51 +01:00
}
2021-02-17 15:54:42 +01:00
window#waybar.top {
2021-03-29 11:02:26 +02:00
padding-top: 3px;
2021-05-12 14:48:41 +02:00
/*background: none;*/
2021-03-28 04:55:58 +02:00
background: @background;
2021-02-17 15:54:42 +01:00
border-bottom-left-radius: 0px;
2021-05-12 14:48:41 +02:00
border-bottom-right-radius: 0px;
2021-03-28 04:55:58 +02:00
margin: 0;
2021-02-17 15:54:42 +01:00
}
2021-03-20 16:36:25 +01:00
.modules-left,
.modules-center,
.modules-right {
2021-03-28 04:55:58 +02:00
margin: 0;
padding: 0;
2021-03-20 16:36:25 +01:00
}
/* Base styling for modules */
2020-11-20 21:33:51 +01:00
#workspaces,
#mode,
2020-11-22 17:12:49 +01:00
#window,
2020-11-20 21:33:51 +01:00
#idle_inhibitor,
#custom-weather,
#pulseaudio,
#memory,
#cpu,
#clock,
#battery,
#backlight,
#disk,
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,
2020-12-17 17:55:51 +01:00
#custom-shutdown,
#custom-reboot,
2021-02-17 15:54:42 +01:00
#custom-covid,
2020-12-03 00:04:21 +01:00
#taskbar,
2020-11-20 21:33:51 +01:00
#tray {
2021-03-28 04:55:58 +02:00
padding: 0px 10px 0 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-03-20 16:36:25 +01:00
padding: 0px 5px 0px 5px;
2021-03-29 11:02: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-02-05 17:55:24 +01:00
#memory,
#custom-reboot,
#custom-updates {
padding-right: 5px;
2020-11-20 21:33:51 +01:00
}
#disk.2,
2021-02-05 17:55:24 +01:00
#custom-swap,
#custom-shutdown,
#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-02-17 15:54:42 +01:00
#taskbar,
#tray,
#window {
2021-02-19 11:18:04 +01:00
padding: 0;
2021-03-28 04:55:58 +02:00
margin: 0 3px 0 3px;
2021-02-19 11:18:04 +01:00
}
2021-05-12 14:48:41 +02:00
/*#taskbar {
}*/
2020-11-20 21:33:51 +01:00
#taskbar button {
2021-05-12 14:48:41 +02:00
color: @foreground;
border-radius: 4px;
padding: 0px 3px 0px 3px;
2020-12-02 20:42:38 +01:00
}
2020-11-20 21:33:51 +01:00
#taskbar button.active {
2021-05-12 14:48:41 +02:00
color: @hilight;
2021-02-17 15:54:42 +01:00
}
2021-03-17 11:21:13 +01:00
#tray {
2021-05-12 14:48:41 +02:00
padding: 5px 3px 5px 3px;
2021-02-17 15:54:42 +01:00
}