From b14dccae0522c7524a1f52caa2ae58841b670778 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 26 Nov 2022 12:42:16 -0800 Subject: [PATCH] added wezterm and imported urxvt settings --- flake.lock | 18 ++++++++-------- hosts/default.nix | 1 + hosts/laptop/default.nix | 2 +- modules/.urxvt.nix.swp | Bin 12288 -> 12288 bytes modules/urxvt.nix | 2 +- modules/wezterm.nix | 44 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 56 insertions(+), 11 deletions(-) create mode 100644 modules/wezterm.nix diff --git a/flake.lock b/flake.lock index 7e25537..ffaa871 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1666990295, - "narHash": "sha256-JPMTX8W36IPV1jmKV1qEhNBI4MbIPYsnccWyTUlSiG0=", + "lastModified": 1668332334, + "narHash": "sha256-YT1qcE/MCqBO1Bi/Yr6GcFpNKsvmzrBKh8juyXDbxQc=", "owner": "nix-community", "repo": "home-manager", - "rev": "423211401c245934db5052e3867cac704f658544", + "rev": "bc90de24d898655542589237cc0a6ada7564cb6c", "type": "github" }, "original": { @@ -59,11 +59,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1667050928, - "narHash": "sha256-xOn0ZgjImIyeecEsrjxuvlW7IW5genTwvvnDQRFncB8=", + "lastModified": 1668087632, + "narHash": "sha256-T/cUx44aYDuLMFfaiVpMdTjL4kpG7bh0VkN6JEM78/E=", "owner": "nixos", "repo": "nixpkgs", - "rev": "fdebb81f45a1ba2c4afca5fd9f526e1653ad0949", + "rev": "5f588eb4a958f1a526ed8da02d6ea1bea0047b9f", "type": "github" }, "original": { @@ -82,11 +82,11 @@ }, "utils": { "locked": { - "lastModified": 1659877975, - "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "owner": "numtide", "repo": "flake-utils", - "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "type": "github" }, "original": { diff --git a/hosts/default.nix b/hosts/default.nix index fdbb2d3..2cb6eee 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -29,6 +29,7 @@ in { imports = [ ./home.nix ../modules/git.nix + ../modules/wezterm.nix ../modules/urxvt.nix ../modules/vim.nix ../modules/zsh.nix diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 41d6774..8dcf051 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -13,7 +13,7 @@ efiSupport = true; enable = true; version = 2; - # useOSProber = true; + #useOSProber = true; }; }; diff --git a/modules/.urxvt.nix.swp b/modules/.urxvt.nix.swp index 4d42ef77144b7afd09ed450a219b75a47e122502..884c355c9b90be1ac27353e1221b8e2d778bd230 100644 GIT binary patch delta 68 zcmZojXh@JsG6?hZRj|}EU;qLE28Qg4rsQG<4aT76iBd*vK8Xb-`2`aLr8ed?Gcz)5 W{=hs(hDm{Mv!cLc-pz`7_Zb0mz!N|K delta 61 zcmZojXh@JsG6?hZRj|}EU;qLE28Ks2&dDnnG#ITpCQ2DG`4>-|D7P`EnVB(k^9SZR QGMkkJrt)r9)Vt3J0Q6Q7q5uE@ diff --git a/modules/urxvt.nix b/modules/urxvt.nix index 6559425..17b5f9c 100644 --- a/modules/urxvt.nix +++ b/modules/urxvt.nix @@ -19,7 +19,7 @@ in foreground = "#F4EFD6"; background = "[80]#202020"; fontColor = "#ffffff"; - blurRadius = "10"; # Doesn't seem to be affecting it + rxvt-unicode = "10"; color1 = "#E44B4B"; color4 = "#0091F1"; diff --git a/modules/wezterm.nix b/modules/wezterm.nix new file mode 100644 index 0000000..5337f75 --- /dev/null +++ b/modules/wezterm.nix @@ -0,0 +1,44 @@ +{ config, pkgs, ... }: + +let + +in +{ + programs.wezterm = { + enable = true; + package = pkgs.wezterm; + + colorSchemes = { + SeeThroughBlack = { + ansi = [ + "#000000" "#E44B4B" "#00cd00" "#cdcd00" + "#0091f1" "#cd00cd" "#00cdcd" "#faebd7" + ]; + brights = [ + "#404040" "#ff0000" "#00ff00" "#ffff00" + "#48b3fb" "#ff00ff" "#00ffff" "#ffffff" + ]; + foreground = "#F4EFD6"; + background = "#202020"; + }; + + }; + + extraConfig = '' +local wezterm = require 'wezterm' + +return { + window_background_opacity = 0.8, + font = wezterm.font_with_fallback { + 'DejaVuSansMono', + 'MesloLGS NF' + }, + font_size = 11.0, + color_scheme = 'SeeThroughBlack', + hide_tab_bar_if_only_one_tab = true, + +} + ''; + + }; +}