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

195 lines
3.2 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-30 19:09:52 +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-06-25 12:38:55 +02:00
@define-color crit @color4;
@define-color accent @color6;
@define-color hilight @color6;
2021-06-30 19:09:52 +02:00
*/
/* Tempus
@define-color text @foreground;
@define-color warn @color3;
@define-color crit @color1;
@define-color accent @color4;
@define-color hilight @color5;
*/
2021-05-12 14:48:41 +02:00
2021-06-25 12:38:55 +02:00
/* Nord
2021-06-16 15:20:24 +02:00
@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
2021-06-30 19:09:52 +02:00
/* Gruvbox */
2021-05-12 14:48:41 +02:00
@define-color text @foreground;
@define-color warn @color3;
@define-color crit @color1;
2021-06-30 19:09:52 +02:00
@define-color accent @color4;
@define-color hilight @color4;
/* Sexy
@define-color text @foreground;
@define-color warn @color2;
@define-color crit @color1;
@define-color accent @color4;
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-25 12:38:55 +02:00
font-size: 12px;
2021-06-16 15:20:24 +02:00
font-family: "Source Code Pro Medium", "Font Awesome 5 Free";
font-weight: bold;
2020-11-20 21:33:51 +01:00
}
window#waybar {
2021-03-18 12:46:27 +01:00
color: @text;
2021-06-30 19:09:52 +02:00
text-shadow: 1px 1px 1px black;
2021-06-25 19:54:35 +02:00
background: @background;
border-radius: 4px;
2020-11-20 21:33:51 +01:00
}
2021-07-09 10:56:09 +02:00
window#waybar.top {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
window#waybar.bottom {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
/* Base styling for modules */
2020-11-20 21:33:51 +01:00
#workspaces,
#mode,
#idle_inhibitor,
#pulseaudio,
#memory,
#cpu,
#clock,
#battery,
#backlight,
#disk,
2021-07-09 10:56:09 +02:00
#taskbar,
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,
2021-07-09 10:56:09 +02:00
#custom-gputemp,
#custom-gpuuse,
#custom-cputemp,
2020-11-20 21:33:51 +01:00
#tray {
2021-06-25 20:21:46 +02:00
padding: 2px 10px 0px 10px;
2020-12-02 00:53:24 +01:00
}
#custom-separator {
2021-07-09 10:56:09 +02:00
color: @color8;
padding-left: 10px;
padding-right: 10px;
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-30 19:09:52 +02:00
padding: 3px 5px 0px 5px;
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-07-09 10:56:09 +02:00
#custom-gpuuse,
#custom-gputemp,
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-07-09 10:56:09 +02:00
#cpu,
2021-02-05 17:55:24 +01:00
#custom-swap,
2021-07-09 10:56:09 +02:00
#custom-auroch,
#custom-gputemp,
#custom-cputemp {
2021-02-05 17:55:24 +01:00
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,
2021-07-09 10:56:09 +02:00
#custom-gputemp.warning,
#custom-gpuuse.warning,
#custom-cputemp.warning,
2021-02-17 15:54:42 +01:00
#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-07-09 10:56:09 +02:00
#custom-gputemp.critical,
#custom-gpuuse.critical,
#custom-cputemp.critical,
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 {
2021-06-30 19:09:52 +02:00
color: @crit;
2021-06-25 19:54:35 +02:00
padding-top: 1px;
2021-06-16 15:20:24 +02:00
margin-right: 3px;
}
#clock {
margin-left: 3px;
}
2021-07-09 10:56:09 +02:00
#taskbar {
padding-left: 0;
}
#taskbar button {
padding-top: 0;
padding-bottom: 0;
margin-top: 0;
margin-bottom: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
#taskbar button.active {
color: @accent;
}
/* Pad the tray so the bottom bar doesn't change size when no windows are open */
#tray {
padding-top: 7px;
padding-bottom: 7px;
}