This commit is contained in:
commit
30ce0dafc2
195 changed files with 8902 additions and 0 deletions
6
users/macan/variables/default.nix
Normal file
6
users/macan/variables/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./theme.nix
|
||||
./shell_aliases.nix
|
||||
];
|
||||
}
|
||||
33
users/macan/variables/shell_aliases.nix
Normal file
33
users/macan/variables/shell_aliases.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options.shellAliases = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {
|
||||
e = "exit";
|
||||
ls = "eza --icons=always --no-quotes";
|
||||
tree = "eza --icons=always --tree --no-quotes";
|
||||
cat = "bat --theme=base16 --color=always --paging=never --tabs=2 --wrap=never --plain";
|
||||
mkdir = "mkdir -p";
|
||||
poweroff = "sudo poweroff";
|
||||
shutdown = "sudo poweroff";
|
||||
reboot = "sudo reboot";
|
||||
|
||||
nix-shell = "nix-shell --command fish";
|
||||
|
||||
# git
|
||||
ga = "git add";
|
||||
gc = "git commit";
|
||||
gp = "git push";
|
||||
gpl = "git pull";
|
||||
gs = "git status";
|
||||
gd = "git diff";
|
||||
gco = "git checkout";
|
||||
gcb = "git checkout -b";
|
||||
gbr = "git branch";
|
||||
grs = "git reset HEAD~1";
|
||||
grh = "git reset --hard HEAD~1";
|
||||
gaa = "git add .";
|
||||
gcm = "git commit -m";
|
||||
};
|
||||
};
|
||||
}
|
||||
51
users/macan/variables/theme.nix
Normal file
51
users/macan/variables/theme.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options.theme = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {
|
||||
rounding = 20;
|
||||
gaps-in = 7;
|
||||
gaps-out = 7 * 2;
|
||||
active-opacity = 0.95;
|
||||
inactive-opacity = 0.92;
|
||||
blur = true;
|
||||
border-size = 2;
|
||||
animation-speed = "fast"; # "fast" | "medium" | "slow"
|
||||
|
||||
bar = {
|
||||
position = "top"; # "top" | "bottom"
|
||||
transparent = true;
|
||||
transparentButtons = false;
|
||||
floating = true;
|
||||
};
|
||||
|
||||
colors = {
|
||||
base00 = "000000"; # 000000 ----
|
||||
base01 = "231a40"; # 231a40 ---
|
||||
base02 = "432d59"; # 432d59 --
|
||||
base03 = "593380"; # 593380 -
|
||||
base04 = "00ff00"; # 7b43bf +
|
||||
base05 = "b08ae6"; # b08ae6 ++
|
||||
base06 = "9045e6"; # 9045e6 +++
|
||||
base07 = "a366ff"; # a366ff ++++
|
||||
base08 = "a82ee6"; # a82ee6 red
|
||||
base09 = "bb66cc"; # bb66cc orange
|
||||
base0A = "f29df2"; # f29df2 yellow
|
||||
base0B = "4595e6"; # 41d9bF green
|
||||
base0C = "40dfff"; # 40dfff aqua/cyan
|
||||
base0D = "4136d9"; # 326ee6 blue
|
||||
base0E = "7e5ce6"; # 7e5ce6 purple
|
||||
base0F = "a886bf"; # a886bf brown
|
||||
};
|
||||
|
||||
fonts = {
|
||||
sizes = {
|
||||
applications = 12;
|
||||
desktop = 12;
|
||||
popups = 12;
|
||||
terminal = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue