systray, dock, icon_handler some major revision

This commit is contained in:
Rene Kievits
2022-03-06 20:56:06 +01:00
parent 39179f06b7
commit dae28d55eb
29 changed files with 422 additions and 255 deletions

View File

@@ -1,149 +1,113 @@
configuration {
font: "Inter Regular 10";
show-icons: true;
drun-display-format: "{name}";
fullscreen: false;
threads: 0;
matching: "fuzzy";
scroll-method: 0;
disable-history: false;
fullscreen: true;
window-thumbnail: true;
font: "JetBrainsMono NF 12";
show-icons: true;
icon-theme: "Papirus-Dark";
display-drun: "";
drun-display-format: "{name}";
disable-history: false;
sidebar-mode: false;
}
* {
transparent: #00000000;
foreground: #F2F2F2EE;
background-selected: #F2F2F245;
background-active: #F2F2F230;
background-white: #F2F2F211;
background-black: #00000066;
urgent: #E91E6366;
urgent-selected: #E91E6377;
background: #00000060;
background-alt: #00000000;
background-bar: #f2f2f215;
foreground: #f2f2f2EE;
accent: #ffffff66;
}
window {
transparency: "real";
background-color: @transparent;
text-color: @foreground;
location: northwest;
anchor: northwest;
transparency: "real";
background-color: @background;
text-color: @foreground;
border: 0px;
border-color: @border;
border-radius: 0px;
width: 100%;
height: 100%;
}
prompt {
enabled: false;
}
button {
action: "ok";
str: " ";
font: "FantasqueSansMono Nerd Font 11";
expand: false;
text-color: @foreground;
background-color: @transparent;
vertical-align: 0.7;
horizontal-align: 0.5;
enabled: true;
padding: 0.30% -0.5% 0% 0.5%;
background-color: @background-alt;
text-color: @foreground;
font: "JetBrainsMono Nerd Font 12";
}
entry {
font: "Inter Regular 11";
background-color: @transparent;
text-color: @foreground;
expand: true;
vertical-align: 0.5;
horizontal-align: 0.5;
placeholder: "Type to search";
placeholder-color: @foreground;
blink: true;
}
case-indicator {
background-color: @transparent;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.5;
}
entry-wrapper {
orientation: horizontal;
vertical-align: 0.5;
spacing: 4px;
background-color: @transparent;
children: [ button, entry, case-indicator ];
background-color: @background-alt;
text-color: @foreground;
placeholder-color: @foreground;
expand: true;
horizontal-align: 0;
placeholder: "Search";
padding: 0% 0% 0% 0%;
blink: true;
}
inputbar {
background-color: @background-white;
text-color: @foreground;
expand: false;
border-radius: 6px;
margin: 0px calc((100% - 640px) / 2) 0px calc((100% - 640px) / 2);
padding: 10px 10px 10px 10px;
position: north;
children: [ entry-wrapper ];
children: [ prompt, entry ];
background-color: @background-bar;
text-color: @foreground;
expand: false;
border: 0.1%;
border-radius: 8px;
border-color: @accent;
margin: 0% 25% 0% 25%;
padding: 1%;
}
listview {
background-color: @transparent;
columns: 6;
spacing: 5px;
cycle: false;
dynamic: true;
layout: vertical;
background-color: @background-alt;
columns: 7;
lines: 4;
spacing: 2%;
cycle: false;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background-black;
children: [ inputbar, listview ];
spacing: 25px;
padding: 70px 15% 0 15%;
/*padding: 70px 135px 0 135px;*/
background-color: @background-alt;
border: 0% 0% 0% 0%;
border-radius: 0% 0% 0% 0%;
border-color: @accent;
children: [ inputbar, listview ];
spacing: 8%;
padding: 10% 8.5% 10% 8.5%;
}
element {
background-color: @transparent;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
padding: 25px 0 25px 0;
background-color: @background-alt;
text-color: @foreground;
orientation: vertical;
border-radius: 0%;
padding: 2.5% 0% 2.5% 0%;
}
element-icon {
size: 72px;
border: 0;
background-color: @background-alt;
text-color: inherit;
horizontal-align: 0.5;
vertical-align: 0.5;
size: 81px;
border: 0px;
}
element-text {
expand: true;
horizontal-align: 0.5;
vertical-align: 0.5;
margin: 0 10px 0 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @urgent;
text-color: @foreground;
border-radius: 9px;
}
element normal.active,
element alternate.active {
background-color: @background-active;
text-color: @foreground;
background-color: @background-alt;
text-color: inherit;
expand: true;
horizontal-align: 0.5;
vertical-align: 0.5;
margin: 0.5% 0.5% -0.5% 0.5%;
}
element selected {
background-color: @background-selected;
text-color: @foreground;
}
element selected.urgent {
background-color: @urgent-selected;
text-color: @foreground;
}
element selected.active {
background-color: @background-active;
color: @foreground-selected;
background-color: @background-bar;
text-color: @foreground;
border: 0% 0% 0% 0%;
border-radius: 12px;
border-color: @accent;
}