color + chatterini oauthtempfix
This commit is contained in:
14
flake.lock
generated
14
flake.lock
generated
@@ -170,11 +170,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715701512,
|
"lastModified": 1715724815,
|
||||||
"narHash": "sha256-WDu35MgBgfaBM7OFnA9YotU9iJEYQrWKdljAJ3I5Gd0=",
|
"narHash": "sha256-I1ioStn+IZEURbjvsB+ZHuABldyqNefwi2utovefn+I=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "4cdddcfe466cb21db81af0ac39e51cc15f574da9",
|
"rev": "94c20a186372aace78b188842848b873eb3ebbd7",
|
||||||
"revCount": 4686,
|
"revCount": 4693,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
@@ -197,11 +197,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715609979,
|
"lastModified": 1715722806,
|
||||||
"narHash": "sha256-3v/P6UyVhQxrQfIv2/0fCO0moCyWv+4QKp6EfD+TPww=",
|
"narHash": "sha256-KrSLG2H3KGELxTFdiBhv8U6D53Q3UsJsQO+KgEabsNA=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-plugins",
|
"repo": "hyprland-plugins",
|
||||||
"rev": "c2c70332a173c93b568ba41a5bb17c66db58d95e",
|
"rev": "c28d1011f4868c1a1ee80b10d9ee79900686df82",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
16
flake.nix
16
flake.nix
@@ -89,14 +89,14 @@
|
|||||||
bright = (0.5);
|
bright = (0.5);
|
||||||
alter = let f = rice.lib.alter-luminace-hex; in color-name: color-value: { base = color-value; dark = f color-value dark; bright = f color-value bright; };
|
alter = let f = rice.lib.alter-luminace-hex; in color-name: color-value: { base = color-value; dark = f color-value dark; bright = f color-value bright; };
|
||||||
ccolor = builtins.mapAttrs alter {
|
ccolor = builtins.mapAttrs alter {
|
||||||
black = "#001100"; # "#111111";
|
black = "#110022"; # "#111111" "#001100";
|
||||||
white = "#66dd66"; # "#dddddd";
|
white = "#dddddd"; # "#dddddd" "#66dd66";
|
||||||
blue = "#003300"; # "#1111dd";
|
blue = "#6611dd"; # "#3333dd" "#003300";
|
||||||
cyan = "#00dd55"; # "#11dddd";
|
cyan = "#11dddd"; # "#11dddd" "#00dd55";
|
||||||
green = "#11dd11"; # "#11dd11";
|
green = "#00ddaa"; # "#11dd11" "#11dd11";
|
||||||
magenta = "#005500"; # "#dd11dd";
|
magenta = "#dd00dd"; # "#dd11dd" "#005500";
|
||||||
red = "#00aa00"; # "#dd1111";
|
red = "#dd1166"; # "#dd1111" "#00aa00";
|
||||||
yellow = "#ffff00"; # "#dddd11";
|
yellow = "#dd6611"; # "#dddd11" "#ffff00";
|
||||||
};
|
};
|
||||||
xcolor = with ccolor; {
|
xcolor = with ccolor; {
|
||||||
background = black.dark;
|
background = black.dark;
|
||||||
|
|||||||
@@ -61,6 +61,12 @@ lib.mkIf (user != "tv")
|
|||||||
gpl = "git pull";
|
gpl = "git pull";
|
||||||
gad = "git add";
|
gad = "git add";
|
||||||
gcm = "git commit -m ";
|
gcm = "git commit -m ";
|
||||||
|
gmr = "git merge";
|
||||||
|
gin = "git init";
|
||||||
|
gdf = "git diff";
|
||||||
|
grs = "git reset";
|
||||||
|
grh = "git reset --hard";
|
||||||
|
gch = "git checkout";
|
||||||
gsh = "git stash";
|
gsh = "git stash";
|
||||||
gsp = "git stash pop";
|
gsp = "git stash pop";
|
||||||
glg = "git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all";
|
glg = "git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all";
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
{ config, pkgs, rice, ... }:
|
{ config, pkgs, pkgs-unstable, rice, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
helix
|
|
||||||
nixfmt # nix formater
|
nixfmt # nix formater
|
||||||
nil # nix language server
|
nil # nix language server
|
||||||
python311Packages.python-lsp-server
|
python311Packages.python-lsp-server
|
||||||
];
|
lldb # debugger for llvm stuff
|
||||||
|
] ++ (with pkgs-unstable; [
|
||||||
|
helix
|
||||||
|
]);
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
EDITOR = "hx";
|
EDITOR = "hx";
|
||||||
VISUAL = "hx";
|
VISUAL = "hx";
|
||||||
@@ -15,6 +17,8 @@
|
|||||||
};
|
};
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
package = pkgs-unstable.helix;
|
||||||
settings = {
|
settings = {
|
||||||
# theme = "base16_terminal";
|
# theme = "base16_terminal";
|
||||||
theme = "base16";
|
theme = "base16";
|
||||||
@@ -27,6 +31,9 @@
|
|||||||
line-number = "relative";
|
line-number = "relative";
|
||||||
color-modes = true;
|
color-modes = true;
|
||||||
bufferline = "always";
|
bufferline = "always";
|
||||||
|
popup-border = "all";
|
||||||
|
completion-trigger-len = 1;
|
||||||
|
completion-timeout = 5;
|
||||||
file-picker.hidden = false;
|
file-picker.hidden = false;
|
||||||
middle-click-paste = false;
|
middle-click-paste = false;
|
||||||
cursorline = true;
|
cursorline = true;
|
||||||
@@ -199,7 +206,7 @@
|
|||||||
"bg" = background;
|
"bg" = background;
|
||||||
};
|
};
|
||||||
"ui.window" = {
|
"ui.window" = {
|
||||||
"bg" = background;
|
"bg" = black.base;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -75,10 +75,10 @@ lib.mkIf (user != "tv")
|
|||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
monitor =
|
monitor =
|
||||||
if host == "NxXPS" then [
|
if host == "NxXPS" then (with monitors.xps; [
|
||||||
"${monitors.xps.main.name}, ${monitors.xps.main.resolution}, ${monitors.xps.main.position}, ${monitors.xps.main.scale}"
|
"${main.name}, ${main.resolution}, ${main.position}, ${main.scale}"
|
||||||
"${monitors.xps.second.name}, ${monitors.xps.second.resolution}, ${monitors.xps.second.position}, ${monitors.xps.second.scale}"
|
"${second.name}, ${second.resolution}, ${second.position}, ${second.scale}"
|
||||||
] else if host == "NxNORTH" then [
|
]) else if host == "NxNORTH" then [
|
||||||
"${monitors.north.main.name}, ${monitors.north.main.resolution}, ${monitors.north.main.position}, ${monitors.north.main.scale}"
|
"${monitors.north.main.name}, ${monitors.north.main.resolution}, ${monitors.north.main.position}, ${monitors.north.main.scale}"
|
||||||
"${monitors.north.left.name}, ${monitors.north.left.resolution}, ${monitors.north.left.position}, ${monitors.north.left.scale}"
|
"${monitors.north.left.name}, ${monitors.north.left.resolution}, ${monitors.north.left.position}, ${monitors.north.left.scale}"
|
||||||
"${monitors.north.right.name}, ${monitors.north.right.resolution}, ${monitors.north.right.position}, ${monitors.north.right.scale}"
|
"${monitors.north.right.name}, ${monitors.north.right.resolution}, ${monitors.north.right.position}, ${monitors.north.right.scale}"
|
||||||
@@ -88,9 +88,9 @@ lib.mkIf (user != "tv")
|
|||||||
|
|
||||||
workspace =
|
workspace =
|
||||||
let
|
let
|
||||||
d1 = if host == "NxXPS" then monitors.xps.main.name else if host == "NxNORTH" then monitors.north.main.name else monitors.ace.main;
|
d1 = if host == "NxXPS" then monitors.xps.main.name else (if host == "NxNORTH" then monitors.north.main.name else monitors.ace.main);
|
||||||
d2 = if host == "NxXPS" then monitors.xps.second.name else if host == "NxNORTH" then monitors.north.left.name else monitors.ace.main;
|
d2 = if host == "NxXPS" then monitors.xps.second.name else (if host == "NxNORTH" then monitors.north.left.name else monitors.ace.main);
|
||||||
d3 = if host == "NxXPS" then monitors.xps.main.name else if host == "NxNORTH" then monitors.north.right.name else monitors.ace.main;
|
d3 = if host == "NxXPS" then monitors.xps.main.name else (if host == "NxNORTH" then monitors.north.right.name else monitors.ace.main);
|
||||||
compact = "gapsin:0, gapsout:0, bordersize:1, rounding:false";
|
compact = "gapsin:0, gapsout:0, bordersize:1, rounding:false";
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user