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

163 lines
2.4 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-03-20 16:36:25 +01:00
/* Usually works well with haishoku */
@define-color text @foreground;
@define-color warn @color4;
@define-color crit @color6;
2021-03-18 12:46:27 +01:00
@define-color accent @color1;
2021-03-20 16:36:25 +01:00
@define-color hilight @color3;
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;
font-family: "Kanit Medium", "Font Awesome 5 Free";
2021-03-20 16:36:25 +01:00
/*font-family: "Kanit Medium", "Siji";*/
2020-11-20 21:33:51 +01:00
}
window#waybar {
2021-03-18 12:46:27 +01:00
color: @text;
2021-03-17 11:21:13 +01:00
background: none;
2021-02-17 15:54:42 +01:00
border-radius: 10px;
2020-11-20 21:33:51 +01:00
}
2021-02-17 15:54:42 +01:00
window#waybar.left {
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-top: none;
2020-11-20 21:33:51 +01:00
}
2021-02-17 15:54:42 +01:00
window#waybar.top {
border-bottom-left-radius: 0px;
}
2021-03-20 16:36:25 +01:00
.modules-left,
.modules-center,
.modules-right {
background: @background;
padding: 0px 10px 0px 10px;
margin: 5px;
border-radius: 6px;
}
/* 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,
#custom-spotify,
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-20 16:36:25 +01:00
padding: 0 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;
2021-03-20 16:36:25 +01:00
margin-left: 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-02-17 15:54:42 +01:00
border-radius: 6px;
}
#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;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-right: 0px;
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;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border-left: 0px;
}
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
margin: 5px;
padding: 0;
}
#taskbar {
margin-top: 3px;
2020-11-23 10:50:13 +01:00
}
2020-11-20 21:33:51 +01:00
#taskbar button {
2021-03-18 12:46:27 +01:00
color: @accent;
2021-02-17 15:54:42 +01:00
border-radius: 6px;
2021-03-20 16:36:25 +01:00
padding: 7px 3px 0px 3px;
2020-12-02 20:42:38 +01:00
}
2020-11-20 21:33:51 +01:00
#taskbar button.active {
2021-03-18 12:46:27 +01:00
background: @accent;
2021-02-17 15:54:42 +01:00
}
2021-03-17 11:21:13 +01:00
#tray {
padding: 7px;
2021-02-17 15:54:42 +01:00
}