styling changes

This commit is contained in:
xunuwu 2025-04-17 13:07:36 +02:00
parent 0d84ec9284
commit c046eadcea
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
10 changed files with 74 additions and 66 deletions

6
flake.lock generated
View file

@ -1200,13 +1200,13 @@
"wallpaper": {
"flake": false,
"locked": {
"narHash": "sha256-Ka69DKAY7BAFSpKGkfuaPpeU2ghfeh5RXOP+RJ9NxSA=",
"narHash": "sha256-/TKznBlLva2h7omNRZMoIIPyVXDFhVkpzWcz2p0N51M=",
"type": "file",
"url": "https://cdn.donmai.us/original/9e/ee/__kasane_teto_and_kasane_teto_utau_drawn_by_xi_wu__9eee30303152b9320922a63e685cc073.jpg"
"url": "https://cdn.donmai.us/original/43/20/__kasane_teto_and_kasane_teto_utau_and_1_more_drawn_by_maguru_white__43204cf49ef8c071c34009553d1c0455.jpg"
},
"original": {
"type": "file",
"url": "https://cdn.donmai.us/original/9e/ee/__kasane_teto_and_kasane_teto_utau_drawn_by_xi_wu__9eee30303152b9320922a63e685cc073.jpg"
"url": "https://cdn.donmai.us/original/43/20/__kasane_teto_and_kasane_teto_utau_and_1_more_drawn_by_maguru_white__43204cf49ef8c071c34009553d1c0455.jpg"
}
},
"wayland-appusage": {

View file

@ -71,7 +71,7 @@
wayland-appusage.inputs.nixpkgs.follows = "nixpkgs";
wallpaper = {
url = "https://cdn.donmai.us/original/9e/ee/__kasane_teto_and_kasane_teto_utau_drawn_by_xi_wu__9eee30303152b9320922a63e685cc073.jpg";
url = "https://cdn.donmai.us/original/43/20/__kasane_teto_and_kasane_teto_utau_and_1_more_drawn_by_maguru_white__43204cf49ef8c071c34009553d1c0455.jpg";
flake = false;
};
};

View file

@ -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}";
};
};
}

View file

@ -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";

View file

@ -1,10 +0,0 @@
{pkgs, ...}: {
stylix = {
iconTheme = {
enable = true;
package = pkgs.adwaita-icon-theme;
dark = "Adwaita-dark";
};
targets.firefox.profileNames = ["xun"];
};
}

View 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;
};
};
}

View 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";
};
};
}

View 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;
}
'';
}

View file

@ -42,7 +42,7 @@
# terminal.emulator.wezterm
terminal.emulator.foot
themes.dark
themes.dark.default
# desktop
programs.desktop.default

View file

@ -5,12 +5,8 @@
}: {
stylix = {
enable = true;
autoEnable = true;
autoEnable = false;
base16Scheme = "${pkgs.base16-schemes}/share/themes/mountain.yaml";
# image = pkgs.fetchurl {
# url = "https://imgur.com/2HATcuP.png";
# hash = "sha256-YsSg1nreefSD/Ij44ZrWMkdk6+rJ2YozcFXvCM/EZNM=";
# };
polarity = "dark";
cursor = {
package = pkgs.apple-cursor;