merge ace xps

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-15 15:53:13 +02:00
6 changed files with 33 additions and 20 deletions

14
flake.lock generated
View File

@@ -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": {

View File

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

View File

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

View File

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

View File

@@ -91,7 +91,7 @@ lib.mkIf (user != "tv")
d1 = if host == "NxXPS" then monitors.xps.main.name else (if host == "NxNORTH" then monitors.north.main.name else monitors.ace.main.name); d1 = if host == "NxXPS" then monitors.xps.main.name else (if host == "NxNORTH" then monitors.north.main.name else monitors.ace.main.name);
d2 = if host == "NxXPS" then monitors.xps.second.name else (if host == "NxNORTH" then monitors.north.left.name else monitors.ace.main.name); d2 = if host == "NxXPS" then monitors.xps.second.name else (if host == "NxNORTH" then monitors.north.left.name else monitors.ace.main.name);
d3 = if host == "NxXPS" then monitors.xps.main.name else (if host == "NxNORTH" then monitors.north.right.name else monitors.ace.main.name); d3 = if host == "NxXPS" then monitors.xps.main.name else (if host == "NxNORTH" then monitors.north.right.name else monitors.ace.main.name);
compact = "gapsin:0, gapsout:0, bordersize:1, rounding:false"; compact = "gapsin:0, gapsout:0, bordersize:1, rounding:false";
in in
[ [
"11, monitor:${d1}, default:true" "11, monitor:${d1}, default:true"