mainly styling things

This commit is contained in:
xunuwu 2024-10-30 09:13:46 +01:00
parent 06397e1f66
commit 48f90b854a
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
16 changed files with 379 additions and 149 deletions

View file

@ -0,0 +1,19 @@
{
lib,
pkgs,
...
}: {
stylix.targets = {
firefox.profileNames = ["xun"];
};
gtk = {
# theme = lib.mkForce {
# package = pkgs.whitesur-gtk-theme;
# name = "WhiteSur-Dark";
# };
iconTheme = {
name = "WhiteSur-dark";
package = pkgs.whitesur-icon-theme;
};
};
}

View file

@ -1,6 +1,7 @@
{
inputs,
self,
pkgs,
...
}: {
imports = [
@ -28,7 +29,7 @@
# desktop
../../programs/desktop
../../programs/desktop/theme.nix
# ../../programs/desktop/theme.nix
../../programs/desktop/awesome
#../../programs/desktop/hyprland
../../programs/desktop/sway
@ -63,6 +64,8 @@
# ../../programs/games/krunker.nix
#../../programs/games/ludusavi.nix
./dark.nix
# media services
../../services/media/playerctl.nix
# system services
@ -81,7 +84,6 @@
};
desktop = {
xdg = enabled;
colorscheme = "light";
};
programs.terminal = {
shell.zsh = enabled;
@ -106,4 +108,15 @@
};
# school.geogebra = enabled;
};
qt = {
enable = true;
platformTheme = {
name = "gtk3";
package = [
pkgs.libsForQt5.qtstyleplugins
pkgs.qt6.qtbase
];
};
};
}

View file

@ -31,7 +31,8 @@
profiles.xun = {
extensions = with config.nur.repos.rycee.firefox-addons; [
ublock-origin
(lib.mkIf (config.xun.desktop.colorscheme == "dark") darkreader)
# (lib.mkIf (config.xun.desktop.colorscheme == "dark") darkreader)
darkreader
sponsorblock
tridactyl
translate-web-pages
@ -61,16 +62,6 @@
# else null
# }\", true);";
settings = {
"extensions.activeThemeID" = let
inherit (config.xun.desktop) colorscheme;
in
lib.mkIf (colorscheme != null) (
if colorscheme == "dark"
then "{30756de5-da3b-43c4-8b35-1db7bb01680a}"
else if colorscheme == "light"
then "firefox-compact-light@mozilla.org"
else null
);
"browser.display.use_system_colors" = true; # about:blank colour match colourscheme
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; # enable userChrome
"browser.tabs.inTitleBar" = "0"; # use system title bar

View file

@ -32,7 +32,7 @@ in {
terminal = "${lib.getExe pkgs.foot}";
layer = "overlay";
};
colors = colors."${config.xun.desktop.colorscheme}";
# colors = colors."${config.xun.desktop.colorscheme}";
};
};
}

View file

@ -53,9 +53,9 @@
'';
config = {
modifier = "Mod4";
output = {
"*".bg = "${config.xdg.userDirs.pictures}/wallpaper fill";
};
# output = {
# "*".bg = "${config.xdg.userDirs.pictures}/wallpaper fill";
# };
input = {
"*".xkb_layout = osConfig.services.xserver.xkb.layout;
};

View file

@ -42,10 +42,6 @@
padding: 0 5px;
}
#workspaces button.visible {
box-shadow: inset 0 -3px black;
}
#workspaces button.urgent {
box-shadow: inset 0 -3px blue;
}

View file

@ -3,8 +3,8 @@
enable = true;
settings = {
main = {
include = "${pkgs.foot.themes}/share/foot/themes/modus-operandi";
font = "monospace:size=9";
# include = "${pkgs.foot.themes}/share/foot/themes/modus-operandi";
# font = "monospace:size=9";
};
mouse.hide-when-typing = true;
};