styling changes
This commit is contained in:
parent
0d84ec9284
commit
c046eadcea
10 changed files with 74 additions and 66 deletions
|
@ -1,38 +1,16 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
colors = {
|
||||
dark = {
|
||||
background = "#181818ff";
|
||||
text = "#a4c6d9ff";
|
||||
match = "#ae61b5ff";
|
||||
border = "#feafffff";
|
||||
selection = "#242424ff";
|
||||
selection-text = "#ffffffff";
|
||||
selection-match = "#fac1ffff";
|
||||
};
|
||||
light = {
|
||||
background = "#ffffffff";
|
||||
text = "#000000ff";
|
||||
match = "#a60000ff";
|
||||
border = "#000000ff";
|
||||
selection = "#bfbfbfff";
|
||||
selection-text = "#000000ff";
|
||||
selection-match = "#2544bbff";
|
||||
};
|
||||
};
|
||||
in {
|
||||
}: {
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
terminal = "${lib.getExe pkgs.foot}";
|
||||
layer = "overlay";
|
||||
dpi-aware = false;
|
||||
};
|
||||
# colors = colors."${config.xun.desktop.colorscheme}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,28 +31,6 @@
|
|||
};
|
||||
}
|
||||
];
|
||||
style = ''
|
||||
* {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
button {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
box-shadow: inset 0 -3px blue;
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0 10px;
|
||||
}
|
||||
'';
|
||||
systemd = {
|
||||
enable = true;
|
||||
target = "sway-session.target";
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
stylix = {
|
||||
iconTheme = {
|
||||
enable = true;
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
dark = "Adwaita-dark";
|
||||
};
|
||||
targets.firefox.profileNames = ["xun"];
|
||||
};
|
||||
}
|
22
home/profiles/themes/dark/default.nix
Normal file
22
home/profiles/themes/dark/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./fuzzel.nix
|
||||
./waybar.nix
|
||||
];
|
||||
|
||||
stylix = {
|
||||
iconTheme = {
|
||||
enable = true;
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
dark = "Adwaita-dark";
|
||||
};
|
||||
targets = {
|
||||
firefox.profileNames = ["xun"];
|
||||
gtk.enable = true;
|
||||
qt.enable = true;
|
||||
foot.enable = true;
|
||||
firefox.enable = true;
|
||||
swaync.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
16
home/profiles/themes/dark/fuzzel.nix
Normal file
16
home/profiles/themes/dark/fuzzel.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
programs.fuzzel.settings = {
|
||||
main = {
|
||||
font = "monospace:size=10";
|
||||
};
|
||||
colors = {
|
||||
background = "#181818ff";
|
||||
text = "#a4c6d9ff";
|
||||
match = "#ae61b5ff";
|
||||
border = "#feafffff";
|
||||
selection = "#242424ff";
|
||||
selection-text = "#ffffffff";
|
||||
selection-match = "#fac1ffff";
|
||||
};
|
||||
};
|
||||
}
|
28
home/profiles/themes/dark/waybar.nix
Normal file
28
home/profiles/themes/dark/waybar.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
programs.waybar.style = ''
|
||||
* {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
button {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
box-shadow: inset 0 -3px white;
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
#workspaces button.visible {
|
||||
box-shadow: inset 0 -3px red;
|
||||
}
|
||||
'';
|
||||
}
|
|
@ -42,7 +42,7 @@
|
|||
# terminal.emulator.wezterm
|
||||
terminal.emulator.foot
|
||||
|
||||
themes.dark
|
||||
themes.dark.default
|
||||
|
||||
# desktop
|
||||
programs.desktop.default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue