This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/waybar/style.css

128 lines
2.1 KiB
CSS
Raw Normal View History

2020-10-15 21:04:48 +02:00
/* {%@@ set bg_rgb = hex2rgb(color.bg) @@%} */
2019-10-16 02:28:41 +02:00
* {
2020-10-27 06:59:47 +01:00
font: {{@@ font.size.medium @@}}px {{@@ font.interface @@}}, Font Awesome, Fira Code Nerd Font;
2019-12-09 19:25:42 +01:00
border-radius:0;
margin:0;
padding: 0;
transition-duration:0;
2019-10-16 02:28:41 +02:00
}
2020-10-10 08:35:37 +02:00
window#waybar.empty * {
color: {{@@ color.txt @@}};
}
2019-10-16 02:28:41 +02:00
window#waybar {
2020-10-10 05:14:55 +02:00
/* background-color: rgba(30,30,30,.9); */
2020-10-10 08:35:37 +02:00
transition-duration: .5s;
2020-10-27 06:04:34 +01:00
background-color: rgba({{@@ bg_rgb @@}}, {{@@ opacity @@}});
2020-06-20 18:58:49 +02:00
{%@@ if bar_pos == "top" @@%}
border-bottom:
{%@@ else @@%}
border-top:
{%@@ endif @@%}
2px solid {{@@ color.bg_dark @@}};
2019-10-16 02:28:41 +02:00
}
2020-03-13 03:13:31 +01:00
window#waybar.solo {
2020-06-20 18:58:49 +02:00
background-color: {{@@ color.bg @@}};
2020-03-13 03:13:31 +01:00
}
2019-10-16 02:28:41 +02:00
window#waybar.empty {
2020-10-10 08:35:37 +02:00
{%@@ if color.type == "dark" @@%}
background-color: transparent;
{%@@ else @@%}
background-color: rgba({{@@ bg_rgb @@}}, 0.3);
{%@@ endif @@%}
2020-10-15 21:04:48 +02:00
border: 0px solid {{@@ color.bg_dark @@}};
2019-10-16 02:28:41 +02:00
}
#workspaces button {
color: {{@@ color.bg_light @@}};
2020-06-23 16:52:48 +02:00
min-width:50px;
2019-10-16 02:28:41 +02:00
background-color: transparent;
2019-12-09 19:25:42 +01:00
border: 3px solid transparent;
2019-10-16 02:28:41 +02:00
}
2019-12-13 03:25:15 +01:00
2019-10-16 02:28:41 +02:00
#workspaces button.focused {
color: {{@@ color.txt @@}};
2020-06-20 18:58:49 +02:00
{%@@ if bar_pos == "top" @@%}
border-top:
{%@@ else @@%}
border-bottom:
{%@@ endif @@%}
2020-10-25 22:10:20 +01:00
3px solid {{@@ accent_color @@}};
2020-06-20 18:58:49 +02:00
/* border-bottom: 3px solid transparent; */
2019-10-16 02:28:41 +02:00
}
/*Window Title*/
#window{
2020-10-10 05:14:55 +02:00
color: {{@@ color.txt @@}};
2019-12-09 19:25:42 +01:00
margin:0 4px;
2019-10-16 02:28:41 +02:00
}
2020-06-22 01:28:39 +02:00
#mode{
2020-10-25 22:10:20 +01:00
color: {{@@ accent_color @@}};
2020-06-22 01:28:39 +02:00
}
2020-04-22 00:36:45 +02:00
2020-07-22 19:25:05 +02:00
#custom-mpd,
2019-12-13 05:20:24 +01:00
#tray,
2019-10-16 02:28:41 +02:00
#clock,
2019-12-09 19:25:42 +01:00
#network,
2019-10-16 02:28:41 +02:00
#battery,
#backlight,
#pulseaudio,
2019-11-23 02:23:15 +01:00
#custom-mail,
2019-12-23 01:36:47 +01:00
#custom-spigot,
2019-12-02 19:57:45 +01:00
#custom-updates,
2020-04-24 23:17:08 +02:00
#custom-weather,
#custom-torrentD,
2020-11-19 23:07:07 +01:00
#custom-torrentS,
#custom-caffeine
2019-12-09 19:25:42 +01:00
{
2019-12-14 23:54:01 +01:00
margin: 0 7px;
2020-06-20 18:58:49 +02:00
color: {{@@ color.txt @@}};
2019-12-13 03:25:15 +01:00
opacity:.7;
}
2020-06-22 01:28:39 +02:00
#battery{
margin-right:15px;
}
2020-04-17 06:54:35 +02:00
#clock,
#custom-weather
2019-12-13 03:25:15 +01:00
{
2020-10-27 06:59:47 +01:00
font-size: {{@@ font.size.big @@}}px;
2019-10-16 02:28:41 +02:00
}
2020-08-04 17:11:53 +02:00
#network,
2020-11-19 23:07:07 +01:00
#pulseaudio,
#custom-caffeine
2020-08-04 17:11:53 +02:00
{
2020-04-22 00:36:45 +02:00
margin-top:-1px;
2020-04-17 06:54:35 +02:00
font-size:16px;
}
2019-10-16 02:28:41 +02:00
2019-12-09 19:25:42 +01:00
#mpd,
#window,
#workspaces
{
font-weight:normal;
2019-10-16 02:28:41 +02:00
}
2019-12-13 03:25:15 +01:00
#custom-recording {
2020-06-30 09:09:45 +02:00
min-width:15px;
2019-12-13 03:25:15 +01:00
color: #ee4040;
2019-10-16 02:28:41 +02:00
}
#mpd.paused {
font-size: 0;
border: none;
}
2020-11-19 23:07:07 +01:00
#tray {
padding: 0;
margin: 0;
}