feat: complete overhaul. hyprland -> dwl; foot -> ghostty; nushell -> fish; stylix: completely custom again
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
home.homeDirectory = "/home/autumn";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
programs.kitty.enable = true;
|
||||
programs.ghostty.enable = true;
|
||||
programs.ghostty.settings.font-size = 24;
|
||||
|
||||
stylix = {
|
||||
targets.waybar.enable = false;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{...}:
|
||||
{ ... }:
|
||||
{
|
||||
programs.carapace = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
programs.carapace = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,12 +6,13 @@
|
||||
./btop.nix
|
||||
./carapace.nix
|
||||
./fastfetch.nix
|
||||
./fish.nix
|
||||
./git.nix
|
||||
./hyfetch.nix
|
||||
./mako.nix
|
||||
./ncspot.nix
|
||||
./nix-search-tv.nix
|
||||
./nushell.nix
|
||||
#./nushell.nix
|
||||
./starship.nix
|
||||
./tmux.nix
|
||||
./vesktop.nix
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.nix-your-shell
|
||||
pkgs.lolcat
|
||||
pkgs.kittysay
|
||||
pkgs.eza
|
||||
];
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellInit = ''
|
||||
function fish_prompt
|
||||
string join ' ' -- (set_color magenta) $(prompt_pwd) :3 (set_color normal)
|
||||
end
|
||||
|
||||
function fish_greeting
|
||||
echo hii autumn :3\nthe time is $(date +%T) | kittysay | lolcat
|
||||
end
|
||||
|
||||
function ls --description "List directory contents"
|
||||
eza --icons=always $argv
|
||||
end
|
||||
|
||||
function nix-shell --description "Start an interactive shell based on a Nix expression"
|
||||
nix-your-shell fish nix-shell -- $argv
|
||||
end
|
||||
|
||||
function nix --description "Reproducible and declarative configuration management"
|
||||
nix-your-shell fish nix -- $argv
|
||||
end
|
||||
'';
|
||||
|
||||
shellInitLast = ''
|
||||
set fish_color_normal green
|
||||
set fish_color_command magenta --bold
|
||||
set fish_color_quote yellow
|
||||
set fish_color_redirection white
|
||||
set fish_color_end magenta
|
||||
set fish_color_error red --bold
|
||||
set fish_color_param blue
|
||||
set fish_color_valid_path blue
|
||||
set fish_color_option blue
|
||||
set fish_color_comment brblack --italics
|
||||
set fish_color_operator yellow
|
||||
set fish_color_escape blue --italics
|
||||
set fish_color_autosuggestion brblack
|
||||
set fish_color_cancel brblack
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main.font = lib.mkForce "${config.stylix.fonts.monospace.name}:size=19";
|
||||
main.font-size-adjustment = 1;
|
||||
cursor.style = "beam";
|
||||
key-bindings.spawn-terminal = "none";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
{...}: {
|
||||
{ ... }:
|
||||
{
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
#enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
"position": "top",
|
||||
"spacing": 4,
|
||||
"modules-left": ["custom/icon", "ext/workspaces", "tray"],
|
||||
"modules-left": ["custom/icon", "dwl/tags", "tray"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["pulseaudio", "cpu", "memory", "temperature", "battery"],
|
||||
"custom/icon": {
|
||||
@@ -15,7 +15,8 @@
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%Y/%m/%d - %A - %R}"
|
||||
"format": "{:%Y/%m/%d - %A - %R}",
|
||||
"tooltip": false
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
@@ -64,11 +65,16 @@
|
||||
* {
|
||||
font-family: "${config.stylix.fonts.serif.name}";
|
||||
font-size: 16px;
|
||||
min-height: 10px;
|
||||
min-height: 16px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
margin-top: 6px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#custom-icon,
|
||||
#workspaces,
|
||||
#tray,
|
||||
#clock,
|
||||
#pulseaudio,
|
||||
@@ -76,47 +82,24 @@
|
||||
#memory,
|
||||
#temperature,
|
||||
#battery {
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
border-color: #${config.stylix.base16Scheme.palette.base0D};
|
||||
border-radius: 10px;
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
margin-bottom: 0px;
|
||||
padding-right: 10px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #${config.stylix.base16Scheme.palette.base05};
|
||||
color: #${config.stylix.base16Scheme.palette.base05};
|
||||
background: #${config.stylix.base16Scheme.palette.base00};
|
||||
border: 2px solid #${config.stylix.base16Scheme.palette.base0D};
|
||||
}
|
||||
|
||||
#custom-icon {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#memory {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#window {
|
||||
margin-top: 6px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: transparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
@@ -131,8 +114,23 @@
|
||||
}
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
#tags {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
margin-bottom: 0px;
|
||||
padding-right: 10px;
|
||||
border: 2px solid #${config.stylix.base16Scheme.palette.base0D};
|
||||
}
|
||||
|
||||
#tags button.occupied {
|
||||
color: #${config.stylix.base16Scheme.palette.base0B};
|
||||
background: #${config.stylix.base16Scheme.palette.base00};
|
||||
}
|
||||
|
||||
#tags button.focused {
|
||||
color: #${config.stylix.base16Scheme.palette.base0D};
|
||||
background: #${config.stylix.base16Scheme.palette.base00};
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
{
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
stylix =
|
||||
let
|
||||
palette = {
|
||||
base00 = "11111a"; # #11111a
|
||||
base01 = "181825"; # #181825
|
||||
base02 = "313244"; # #313244
|
||||
base03 = "45475a"; # #45475a
|
||||
base04 = "585b70"; # #585b70
|
||||
base05 = "cdd6f4"; # #cdd6f4
|
||||
base06 = "f5e0dc"; # #f5e0dc
|
||||
base07 = "b4befe"; # #b4befe
|
||||
base08 = "f38ba8"; # #f38ba8
|
||||
base09 = "fab387"; # #fab387
|
||||
base0A = "f9e2af"; # #f9e2af
|
||||
base0B = "a6e3a1"; # #a6e3a1
|
||||
base0C = "94e2d5"; # #94e2d5
|
||||
base0D = "f5c2e7"; # #f5c2e7
|
||||
base0E = "cba6f7"; # #cba6f7
|
||||
base0F = "f2cdcd"; # #f2cdcd
|
||||
|
||||
#base00 = "1d2021"; # #1d2021
|
||||
#base01 = "3c3836"; # #3c3836
|
||||
#base02 = "504945"; # #504945
|
||||
#base03 = "665c54"; # #665c54
|
||||
#base04 = "bdae93"; # #bdae93
|
||||
#base05 = "d5c4a1"; # #d5c4a1
|
||||
#base06 = "ebdbb2"; # #ebdbb2
|
||||
#base07 = "fbf1c7"; # #fbf1c7
|
||||
#base08 = "fb4934"; # #fb4934
|
||||
#base09 = "fe8019"; # #fe8019
|
||||
#base0A = "fabd2f"; # #fabd2f
|
||||
#base0B = "b8bb26"; # #b8bb26
|
||||
#base0C = "8ec07c"; # #8ec07c
|
||||
#base0D = "83a598"; # #83a598
|
||||
#base0E = "d3869b"; # #d3869b
|
||||
#base0F = "d65d0e"; # #d65d0e
|
||||
};
|
||||
wallpaper = inputs.nix-wallpaper.packages.${pkgs.stdenv.hostPlatform.system}.default.override {
|
||||
width = 2560;
|
||||
height = 1440;
|
||||
backgroundColor = "#${palette.base00}";
|
||||
logoColors = {
|
||||
color0 = "#${palette.base0D}";
|
||||
color1 = "#${palette.base0D}";
|
||||
color2 = "#${palette.base0D}";
|
||||
color3 = "#${palette.base0D}";
|
||||
color4 = "#${palette.base0D}";
|
||||
color5 = "#${palette.base0D}";
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
{
|
||||
enable = true;
|
||||
image = "${wallpaper}/share/wallpapers/nixos-wallpaper.png";
|
||||
polarity = "dark";
|
||||
targets.waybar.enable = false;
|
||||
targets.zathura.enable = false;
|
||||
targets.vesktop.enable = false;
|
||||
targets.zen-browser.enable = false;
|
||||
fonts =
|
||||
let
|
||||
font = {
|
||||
package = pkgs.nerd-fonts.caskaydia-cove;
|
||||
name = "CaskaydiaCove Nerd Font";
|
||||
};
|
||||
in
|
||||
{
|
||||
monospace = font;
|
||||
serif = font;
|
||||
sansSerif = font;
|
||||
emoji = font;
|
||||
};
|
||||
base16Scheme.palette = palette;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user