Mako : Transparent bkg.

This commit is contained in:
Dmitry Voronin 2024-05-07 14:09:40 +03:00
parent 1504157215
commit a7e721ca8e
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 8 additions and 6 deletions

View file

@ -6,9 +6,9 @@
polarity = "dark";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
opacity = {
applications = 1.0;
applications = 0.85;
terminal = 0.85;
popups = 1.0;
popups = 0.85;
desktop = 0.85;
};
cursor = {

View file

@ -11,7 +11,7 @@
# Split directions.
bindsym $mod+${key.sway.window.split.horizontal} splith
bindsym $mod+${key.sway.window.split.vertical} splitv
bindsym $mod+${key.sway.window.split.vertical} splitv
# Switch the current container between different layout styles.
bindsym $mod+${key.sway.window.layout.toggle} layout toggle split tabbed

View file

@ -1,10 +1,12 @@
{ style, util, setting, ... }: {
{ style, util, setting, ... }: let
alpha = style.opacity.inactive.hex;
in {
config = util.trimTabs ''
anchor=top-center
default-timeout=${toString(setting.popup.timeout.ms)}
font=${style.font.serif.name} ${toString(style.font.size.popup)}
background-color=#${style.color.bg.dark}
border-color=#${style.color.bg.regular}
background-color=#${style.color.bg.dark}${alpha}
border-color=#${style.color.bg.regular}${alpha}
text-color=#${style.color.fg.light}
height=120
icons=0