sway: use wal colors

This commit is contained in:
Jez Cope 2021-03-12 16:37:32 +00:00
parent abc4c6b45d
commit eb1bca1fd5
1 changed files with 9 additions and 26 deletions

View File

@ -12,15 +12,6 @@ let
doff-timeout = "600";
opacity = "0.95";
colors = {
primary = "#007D78";
primary-light = "#10C9C2";
secondary = "#7D2F05";
secondary-light = "#CA5010";
fg = "#E9EDF0";
bg = "#000000";
};
grim-date-fmt = "+%Y-%m-%d-%H%M%S";
cmds = rec {
@ -60,23 +51,6 @@ in {
fonts = [ "Iosevka 12" ];
window.titlebar = true;
window.border = 0;
colors = rec {
focused = rec {
border = "${colors.primary}bb";
text = "${colors.fg}";
indicator = "${colors.secondary-light}aa";
background = border;
childBorder = border;
};
unfocused = rec {
border = "${colors.bg}88";
text = "${colors.fg}";
indicator = text;
background = border;
childBorder = text;
};
focusedInactive = unfocused;
};
floating = {
inherit modifier;
@ -244,6 +218,15 @@ in {
};
extraConfig = ''
include "$HOME/.cache/wal/colors-sway"
client.focused $color1 $color1 $foreground $color4 $color1
client.focused_inactive $background $background $foreground
client.unfocused $background $background $foreground
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
titlebar_padding 7 7
titlebar_border_thickness 3
title_align right