Sway now set by base16

Main
Johannes Hendrik Gerard van der Weide 2024-02-21 13:20:21 +01:00
parent 728cace679
commit 4bd33ebe3d
3 changed files with 37 additions and 29 deletions

View File

@ -1,4 +1,4 @@
{ config, nix-colors, lib }: { config, lib }:
let let
config = import ../../theming/colorScheme.nix; config = import ../../theming/colorScheme.nix;
modifierKey = config.wayland.windowManager.sway.config.modifier; modifierKey = config.wayland.windowManager.sway.config.modifier;
@ -28,25 +28,25 @@ in
colors = { colors = {
background = "${config.colorScheme.palette.base00}"; background = "${config.colorScheme.palette.base00}";
focused = { focused = {
indicator = "#b30000"; indicator = "${config.colorScheme.palette.base06}";
background = "#b30000"; background = "${config.colorScheme.palette.base06}";
border = "#b30000"; border = "${config.colorScheme.palette.base06}";
childBorder = "#b30000"; childBorder = "${config.colorScheme.palette.base06}";
text = "${config.colorScheme.pallete.base09}"; text = "${config.colorScheme.palette.base09}";
}; };
focusedInactive = { focusedInactive = {
indicator = "#303030"; indicator = "${config.colorScheme.palette.base05}";
background = "#303030"; background = "${config.colorScheme.palette.base05}";
border = "#303030"; border = "${config.colorScheme.palette.base05}";
childBorder = "#303030"; childBorder = "${config.colorScheme.palette.base05}";
text = "${config.colorScheme.pallete.base09}"; text = "${config.colorScheme.palette.base09}";
}; };
unfocused = { unfocused = {
indicator = "#1e1e1e"; indicator = "${config.colorScheme.palette.base04}";
background = "#1e1e1e"; background = "${config.colorScheme.palette.base04}";
border = "#1e1e1e"; border = "${config.colorScheme.palette.base04}";
childBorder = "#1e1e1e"; childBorder = "${config.colorScheme.palette.base04}";
text = "${config.colorScheme.pallete.base09}"; text = "${config.colorScheme.palette.base09}";
}; };
}; };
bars = [ bars = [

View File

@ -1,3 +1,7 @@
{ config }:
let
config = import ../../theming/colorScheme.nix;
in
{ {
programs.waybar = { programs.waybar = {
enable = true; enable = true;
@ -61,21 +65,21 @@
font-family: monospace; font-family: monospace;
} }
window#waybar { window#waybar {
background: #242424; background: ${config.colorScheme.palette.base00};
color: #ffffff; color: ${config.colorScheme.palette.base09};
} }
#workspaces button { #workspaces button {
padding: 0 5px; padding: 0 5px;
background-color: #1e1e1e; background-color: ${config.colorScheme.palette.base04};
color: #ffffff; color: ${config.colorScheme.palette.base09};
} }
#workspaces button:hover { #workspaces button:hover {
background: #303030; background: ${config.colorScheme.palette.base05};
color: #ffffff; color: ${config.colorScheme.palette.base09};
} }
#workspaces button.focused { #workspaces button.focused {
background: #b30000; background: ${config.colorScheme.palette.base06};
color: #ffffff; color: ${config.colorScheme.palette.base09};
} }
''; '';
}; };

View File

@ -1,3 +1,7 @@
{ config }:
let
config = import ../../theming/colorScheme.nix;
in
{ {
programs.wofi = { programs.wofi = {
enable = true; enable = true;
@ -15,20 +19,20 @@
} }
window { window {
background-color: #242424; background-color: ${config.colorScheme.palette.base00};
} }
#input { #input {
margin: 5px; margin: 5px;
border: none; border: none;
color: #ffffff; color: ${config.colorScheme.palette.base09};
background-color: #b30000; background-color: ${config.colorScheme.palette.base06};
} }
#text { #text {
margin: 5px; margin: 5px;
border: none; border: none;
color: #ffffff; color: ${config.colorScheme.palette.base09};
} }
#entry { #entry {
@ -40,7 +44,7 @@
} }
#entry:selected { #entry:selected {
background-color: #b30000; background-color: ${config.colorScheme.palette.base06};
border-radius: 5px; border-radius: 5px;
border: none; border: none;
} }