2024-02-09 11:37:03 +01:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
palette = config.colorScheme.palette;
|
2024-02-29 19:19:53 +01:00
|
|
|
betterTransition = "all 0.3s cubic-bezier(.55,-0.68,.48,1.682)";
|
2024-02-28 23:48:04 +01:00
|
|
|
inherit (import ../../options.nix) slickbar bar-number simplebar clock24h;
|
2024-02-09 11:37:03 +01:00
|
|
|
in with lib; {
|
|
|
|
# Configure & Theme Waybar
|
|
|
|
programs.waybar = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.waybar;
|
|
|
|
settings = [{
|
|
|
|
layer = "top";
|
|
|
|
position = "top";
|
|
|
|
|
2024-02-28 23:48:04 +01:00
|
|
|
modules-center = [ "hyprland/workspaces" ] ;
|
|
|
|
modules-left = [ "custom/startmenu" "hyprland/window" "pulseaudio" "cpu" "memory"];
|
2024-02-29 19:19:53 +01:00
|
|
|
modules-right = [ "custom/hyprbindings" "custom/exit" "idle_inhibitor" "custom/themeselector" "custom/notification" "clock" "tray" ];
|
2024-02-12 06:35:45 +01:00
|
|
|
|
2024-02-09 11:37:03 +01:00
|
|
|
"hyprland/workspaces" = {
|
2024-02-28 23:48:04 +01:00
|
|
|
format = if bar-number == true then "{name}" else "{icon}";
|
2024-02-09 11:37:03 +01:00
|
|
|
format-icons = {
|
|
|
|
default = " ";
|
|
|
|
active = " ";
|
|
|
|
urgent = " ";
|
|
|
|
};
|
|
|
|
on-scroll-up = "hyprctl dispatch workspace e+1";
|
|
|
|
on-scroll-down = "hyprctl dispatch workspace e-1";
|
|
|
|
};
|
|
|
|
"clock" = {
|
2024-02-12 01:45:06 +01:00
|
|
|
format = if clock24h == true then ''{: %H:%M}''
|
|
|
|
else ''{: %I:%M %p}'';
|
2024-02-12 04:24:58 +01:00
|
|
|
tooltip = true;
|
2024-02-12 04:44:06 +01:00
|
|
|
tooltip-format = "<big>{:%A, %d.%B %Y }</big><tt><small>{calendar}</small></tt>";
|
2024-02-09 11:37:03 +01:00
|
|
|
};
|
|
|
|
"hyprland/window" = {
|
|
|
|
max-length = 25;
|
|
|
|
separate-outputs = false;
|
|
|
|
};
|
|
|
|
"memory" = {
|
|
|
|
interval = 5;
|
|
|
|
format = " {}%";
|
|
|
|
tooltip = true;
|
|
|
|
};
|
|
|
|
"cpu" = {
|
|
|
|
interval = 5;
|
|
|
|
format = " {usage:2}%";
|
|
|
|
tooltip = true;
|
|
|
|
};
|
|
|
|
"disk" = {
|
|
|
|
format = " {free}";
|
|
|
|
tooltip = true;
|
|
|
|
};
|
|
|
|
"network" = {
|
|
|
|
format-icons = ["" "" "" "" ""];
|
|
|
|
format-ethernet = " {bandwidthDownOctets}";
|
|
|
|
format-wifi = "{icon} {signalStrength}%";
|
|
|
|
format-disconnected = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"tray" = {
|
|
|
|
spacing = 12;
|
|
|
|
};
|
|
|
|
"pulseaudio" = {
|
|
|
|
format = "{icon} {volume}% {format_source}";
|
|
|
|
format-bluetooth = "{volume}% {icon} {format_source}";
|
|
|
|
format-bluetooth-muted = " {icon} {format_source}";
|
|
|
|
format-muted = " {format_source}";
|
|
|
|
format-source = " {volume}%";
|
|
|
|
format-source-muted = "";
|
|
|
|
format-icons = {
|
|
|
|
headphone = "";
|
|
|
|
hands-free = "";
|
|
|
|
headset = "";
|
|
|
|
phone = "";
|
|
|
|
portable = "";
|
|
|
|
car = "";
|
|
|
|
default = ["" "" ""];
|
|
|
|
};
|
2024-02-20 06:52:23 +01:00
|
|
|
on-click = "sleep 0.1 && pavucontrol";
|
2024-02-09 11:37:03 +01:00
|
|
|
};
|
|
|
|
"custom/themeselector" = {
|
|
|
|
tooltip = false;
|
|
|
|
format = "";
|
|
|
|
on-click = "sleep 0.1 && theme-selector";
|
|
|
|
};
|
2024-02-24 19:48:36 +01:00
|
|
|
"custom/exit" = {
|
|
|
|
tooltip = false;
|
|
|
|
format = "";
|
|
|
|
on-click = "sleep 0.1 && wlogout";
|
|
|
|
};
|
2024-02-09 11:37:03 +01:00
|
|
|
"custom/startmenu" = {
|
|
|
|
tooltip = false;
|
|
|
|
format = " ";
|
|
|
|
# exec = "rofi -show drun";
|
2024-02-20 06:52:23 +01:00
|
|
|
on-click = "sleep 0.1 && rofi-launcher";
|
|
|
|
};
|
|
|
|
"custom/hyprbindings" = {
|
|
|
|
tooltip = false;
|
|
|
|
format = " Bindings";
|
|
|
|
on-click = "sleep 0.1 && list-hypr-bindings";
|
2024-02-09 11:37:03 +01:00
|
|
|
};
|
|
|
|
"idle_inhibitor" = {
|
|
|
|
format = "{icon}";
|
|
|
|
format-icons = {
|
2024-02-29 19:19:53 +01:00
|
|
|
activated = "";
|
|
|
|
deactivated = "";
|
2024-02-09 11:37:03 +01:00
|
|
|
};
|
|
|
|
tooltip = "true";
|
|
|
|
};
|
|
|
|
"custom/notification" = {
|
|
|
|
tooltip = false;
|
|
|
|
format = "{icon} {}";
|
|
|
|
format-icons = {
|
|
|
|
notification = "<span foreground='red'><sup></sup></span>";
|
|
|
|
none = "";
|
|
|
|
dnd-notification = "<span foreground='red'><sup></sup></span>";
|
|
|
|
dnd-none = "";
|
|
|
|
inhibited-notification = "<span foreground='red'><sup></sup></span>";
|
|
|
|
inhibited-none = "";
|
|
|
|
dnd-inhibited-notification = "<span foreground='red'><sup></sup></span>";
|
|
|
|
dnd-inhibited-none = "";
|
|
|
|
};
|
|
|
|
return-type = "json";
|
|
|
|
exec-if = "which swaync-client";
|
|
|
|
exec = "swaync-client -swb";
|
2024-02-20 06:52:23 +01:00
|
|
|
on-click = "sleep 0.1 && task-waybar";
|
2024-02-09 11:37:03 +01:00
|
|
|
escape = true;
|
|
|
|
};
|
|
|
|
"battery" = {
|
|
|
|
states = {
|
|
|
|
warning = 30;
|
|
|
|
critical = 15;
|
|
|
|
};
|
|
|
|
format = "{icon} {capacity}%";
|
|
|
|
format-charging = " {capacity}%";
|
|
|
|
format-plugged = " {capacity}%";
|
|
|
|
format-icons = ["" "" "" "" "" "" "" "" "" ""];
|
|
|
|
on-click = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
}];
|
|
|
|
style = concatStrings [''
|
|
|
|
* {
|
|
|
|
font-size: 16px;
|
|
|
|
font-family: JetBrainsMono Nerd Font, Font Awesome, sans-serif;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
window#waybar {
|
2024-02-29 19:19:53 +01:00
|
|
|
${if slickbar == true || simplebar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background-color: rgba(26,27,38,0);
|
|
|
|
border-bottom: 1px solid rgba(26,27,38,0);
|
|
|
|
border-radius: 0px;
|
|
|
|
color: #${palette.base0F};
|
|
|
|
'' else ''
|
|
|
|
background-color: #${palette.base00};
|
|
|
|
border-bottom: 1px solid #${palette.base00};
|
|
|
|
border-radius: 0px;
|
|
|
|
color: #${palette.base0F};
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#workspaces {
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
2024-02-09 11:37:03 +01:00
|
|
|
margin: 5px;
|
|
|
|
padding: 0px 1px;
|
|
|
|
border-radius: 15px;
|
|
|
|
border: 0px;
|
|
|
|
font-style: normal;
|
|
|
|
color: #${palette.base00};
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
color: #${palette.base00};
|
2024-02-13 04:29:39 +01:00
|
|
|
background: transparent;
|
2024-02-29 19:19:53 +01:00
|
|
|
margin: 4px;
|
2024-02-13 04:29:39 +01:00
|
|
|
border-radius: 0px;
|
|
|
|
border: 0px;
|
|
|
|
font-style: normal;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base01};
|
2024-02-09 11:37:03 +01:00
|
|
|
margin: 4px;
|
|
|
|
padding: 0px 1px;
|
|
|
|
border-radius: 10px;
|
|
|
|
border: 0px;
|
|
|
|
font-style: normal;
|
|
|
|
color: #${palette.base00};
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#workspaces button {
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
padding: 0px 5px;
|
|
|
|
margin: 4px 3px;
|
|
|
|
border-radius: 15px;
|
|
|
|
border: 0px;
|
|
|
|
color: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
background: linear-gradient(45deg, #${palette.base0C}, #${palette.base0D}, #${palette.base0E});
|
2024-02-09 11:37:03 +01:00
|
|
|
opacity: 0.5;
|
2024-02-29 19:19:53 +01:00
|
|
|
transition: ${betterTransition};
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
color: #${config.colorScheme.colors.base03};
|
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 4px 3px;
|
|
|
|
opacity: 1;
|
2024-02-13 04:29:39 +01:00
|
|
|
border: 0px;
|
2024-02-29 19:19:53 +01:00
|
|
|
border-radius: 15px;
|
|
|
|
transition: ${betterTransition};
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
padding: 0px 5px;
|
|
|
|
margin: 4px 3px;
|
|
|
|
border-radius: 10px;
|
|
|
|
border: 0px;
|
|
|
|
color: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
background: linear-gradient(45deg, #${palette.base0E}, #${palette.base0F}, #${palette.base0D}, #${palette.base09});
|
|
|
|
background-size: 300% 300%;
|
|
|
|
animation: gradient_horizontal 15s ease infinite;
|
2024-02-09 11:37:03 +01:00
|
|
|
opacity: 0.5;
|
2024-02-29 19:19:53 +01:00
|
|
|
transition: ${betterTransition};
|
2024-02-09 11:37:03 +01:00
|
|
|
''}
|
|
|
|
}
|
|
|
|
#workspaces button.active {
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
padding: 0px 5px;
|
|
|
|
margin: 4px 3px;
|
|
|
|
border-radius: 15px;
|
|
|
|
border: 0px;
|
|
|
|
color: #${palette.base00};
|
|
|
|
background: linear-gradient(45deg, #${palette.base0D}, #${palette.base0E});
|
|
|
|
opacity: 1.0;
|
|
|
|
min-width: 40px;
|
2024-02-29 19:19:53 +01:00
|
|
|
transition: ${betterTransition};
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
color: #${palette.base00};
|
|
|
|
background: linear-gradient(118deg, #${palette.base0D} 5%, #${palette.base0F} 5%, #${palette.base0F} 20%, #${palette.base0D} 20%, #${palette.base0D} 40%, #${palette.base0F} 40%, #${palette.base0F} 60%, #${palette.base0D} 60%, #${palette.base0D} 80%, #${palette.base0F} 80%, #${palette.base0F} 95%, #${palette.base0D} 95%);
|
|
|
|
background-size: 300% 300%;
|
|
|
|
animation: swiping 15s linear infinite;
|
|
|
|
border-radius: 15px;
|
|
|
|
margin: 4px 3px;
|
2024-02-13 04:29:39 +01:00
|
|
|
opacity: 1.0;
|
|
|
|
border: 0px;
|
2024-02-29 19:19:53 +01:00
|
|
|
min-width: 45px;
|
|
|
|
transition: ${betterTransition};
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
padding: 0px 5px;
|
|
|
|
margin: 4px 3px;
|
|
|
|
border-radius: 10px;
|
|
|
|
border: 0px;
|
|
|
|
color: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
background: linear-gradient(45deg, #${palette.base0E}, #${palette.base0F}, #${palette.base0D}, #${palette.base09});
|
|
|
|
background-size: 300% 300%;
|
|
|
|
animation: gradient_horizontal 15s ease infinite;
|
|
|
|
transition: ${betterTransition};
|
2024-02-09 11:37:03 +01:00
|
|
|
opacity: 1.0;
|
|
|
|
min-width: 40px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#workspaces button:hover {
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
border-radius: 15px;
|
|
|
|
color: #${palette.base00};
|
|
|
|
background: linear-gradient(45deg, #${palette.base0D}, #${palette.base0E});
|
2024-02-12 06:35:45 +01:00
|
|
|
opacity: 0.8;
|
2024-02-29 19:19:53 +01:00
|
|
|
transition: ${betterTransition};
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
|
|
|
color: #${config.colorScheme.colors.base05};
|
|
|
|
border: 0px;
|
2024-02-29 19:19:53 +01:00
|
|
|
border-radius: 15px;
|
|
|
|
transition: ${betterTransition};
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
border-radius: 10px;
|
|
|
|
color: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
background: linear-gradient(45deg, #${palette.base0E}, #${palette.base0F}, #${palette.base0D}, #${palette.base09});
|
|
|
|
background-size: 300% 300%;
|
|
|
|
animation: gradient_horizontal 15s ease infinite;
|
2024-02-12 06:35:45 +01:00
|
|
|
opacity: 0.8;
|
2024-02-29 19:19:53 +01:00
|
|
|
transition: ${betterTransition};
|
2024-02-09 11:37:03 +01:00
|
|
|
''}
|
|
|
|
}
|
2024-02-29 19:19:53 +01:00
|
|
|
@keyframes gradient_horizontal {
|
|
|
|
0% {
|
|
|
|
background-position: 0% 50%;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
background-position: 100% 50%;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background-position: 0% 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes swiping {
|
|
|
|
0% {
|
|
|
|
background-position: 0% 200%;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background-position: 200% 200%;
|
|
|
|
}
|
|
|
|
}
|
2024-02-09 11:37:03 +01:00
|
|
|
tooltip {
|
|
|
|
background: #${palette.base00};
|
|
|
|
border: 1px solid #${palette.base0E};
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
tooltip label {
|
|
|
|
color: #${palette.base07};
|
|
|
|
}
|
|
|
|
#window {
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
color: #${palette.base05};
|
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 50px 15px 50px 15px;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
color: #${palette.base03};
|
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
border-radius: 15px;
|
|
|
|
padding: 0px 10px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
color: #${palette.base05};
|
|
|
|
background: #${palette.base01};
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#memory {
|
|
|
|
color: #${palette.base0F};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
border-radius: 50px 15px 50px 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#clock {
|
|
|
|
color: #${palette.base0B};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 15px 50px 15px 50px;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#cpu {
|
|
|
|
color: #${palette.base07};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 50px 15px 50px 15px;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#disk {
|
|
|
|
color: #${palette.base03};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 15px 50px 15px 50px;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#battery {
|
|
|
|
color: #${palette.base08};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 15px 50px 15px 50px;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#network {
|
|
|
|
color: #${palette.base09};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 50px 15px 50px 15px;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-20 06:52:23 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#custom-hyprbindings {
|
|
|
|
color: #${palette.base0E};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-20 06:52:23 +01:00
|
|
|
background: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
border-radius: 15px 50px 15px 50px;
|
2024-02-20 06:52:23 +01:00
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#tray {
|
|
|
|
color: #${palette.base05};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 15px 0px 0px 50px;
|
|
|
|
margin: 5px 0px 5px 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#pulseaudio {
|
|
|
|
color: #${palette.base0D};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 50px 15px 50px 15px;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#custom-notification {
|
|
|
|
color: #${palette.base0C};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 15px 50px 15px 50px;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#custom-themeselector {
|
|
|
|
color: #${palette.base0D};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
border-radius: 0px 50px 15px 0px;
|
|
|
|
margin: 5px 0px;
|
|
|
|
padding: 2px 15px 2px 5px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px 6px 0px;
|
|
|
|
padding: 0px 10px 0px 5px;
|
|
|
|
border-radius: 0px 15px 15px 0px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
2024-02-29 19:19:53 +01:00
|
|
|
margin: 4px 0px;
|
|
|
|
padding: 2px 10px 2px 5px;
|
|
|
|
border-radius: 0px 10px 10px 0px;
|
2024-02-09 11:37:03 +01:00
|
|
|
''}
|
|
|
|
}
|
|
|
|
#custom-startmenu {
|
|
|
|
color: #${palette.base03};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
border-radius: 0px 15px 50px 0px;
|
|
|
|
margin: 5px 5px 5px 0px;
|
|
|
|
padding: 2px 20px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 4px;
|
|
|
|
padding: 0px 8px 0px 10px;
|
|
|
|
border-radius: 15px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
|
|
|
margin: 4px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
''}
|
|
|
|
}
|
|
|
|
#idle_inhibitor {
|
|
|
|
color: #${palette.base09};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-09 11:37:03 +01:00
|
|
|
background: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
border-radius: 0px;
|
|
|
|
margin: 5px 0px;
|
|
|
|
padding: 2px 14px;
|
2024-02-13 04:29:39 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 0px;
|
|
|
|
padding: 0px 14px;
|
|
|
|
border-radius: 0px;
|
2024-02-09 11:37:03 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
2024-02-29 19:19:53 +01:00
|
|
|
margin: 4px 0px;
|
|
|
|
padding: 2px 14px;
|
|
|
|
border-radius: 0px;
|
2024-02-09 11:37:03 +01:00
|
|
|
''}
|
2024-02-24 19:48:36 +01:00
|
|
|
}
|
|
|
|
#custom-exit {
|
|
|
|
color: #${palette.base0E};
|
2024-02-28 23:48:04 +01:00
|
|
|
${if slickbar == true then ''
|
2024-02-24 19:48:36 +01:00
|
|
|
background: #${palette.base00};
|
2024-02-29 19:19:53 +01:00
|
|
|
border-radius: 15px 0px 0px 50px;
|
|
|
|
margin: 5px 0px;
|
|
|
|
padding: 2px 5px 2px 15px;
|
2024-02-24 19:48:36 +01:00
|
|
|
'' else if simplebar == true then ''
|
2024-02-29 19:19:53 +01:00
|
|
|
background: #${palette.base00};
|
|
|
|
margin: 6px 0px 6px 4px;
|
|
|
|
padding: 0px 5px 0px 10px;
|
|
|
|
border-radius: 15px 0px 0px 15px;
|
2024-02-24 19:48:36 +01:00
|
|
|
'' else ''
|
|
|
|
background: #${palette.base01};
|
2024-02-29 19:19:53 +01:00
|
|
|
margin: 4px 0px;
|
|
|
|
padding: 2px 5px 2px 10px;
|
|
|
|
border-radius: 10px 0px 0px 10px;
|
2024-02-24 19:48:36 +01:00
|
|
|
''}
|
2024-02-09 11:37:03 +01:00
|
|
|
} ''
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|