Add gitui with vim-style keybinds and catppuccin theme
This commit is contained in:
parent
1bafd48306
commit
76b0ce23cb
6
Makefile
6
Makefile
|
@ -2,13 +2,9 @@
|
|||
|
||||
test:
|
||||
sudo nixos-rebuild test --flake .
|
||||
make hyprland
|
||||
make waybar
|
||||
|
||||
switch:
|
||||
sudo nixos-rebuild switch --flake .
|
||||
make hyprland
|
||||
make waybar
|
||||
|
||||
build:
|
||||
sudo nixos-rebuild build --flake .
|
||||
|
@ -30,4 +26,4 @@ waybar:
|
|||
-hyprctl dispatch exec waybar
|
||||
|
||||
home:
|
||||
home-manager switch --flake .
|
||||
nix run nixpkgs#home-manager switch --flake .
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [./gitui.nix];
|
||||
home.packages = with pkgs; [
|
||||
curl
|
||||
dig
|
||||
|
|
19
home/tui/gitui.nix
Normal file
19
home/tui/gitui.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{pkgs, ...}: {
|
||||
programs.gitui = {
|
||||
enable = true;
|
||||
keyConfig = builtins.readFile (pkgs.fetchFromGitHub {
|
||||
owner = "extrawurst";
|
||||
repo = "gitui";
|
||||
rev = "8f7f35b8a97e38a0e181032285554cd0961d588e";
|
||||
sha256 = "sha256-zJDf6WhaUe8QTPCoVAdfCdUvYEcQpm2qddQiKw41kjY=";
|
||||
}
|
||||
+ "/vim_style_key_config.ron");
|
||||
theme = builtins.readFile (pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "gitui";
|
||||
rev = "3c97c7af7247b1e0f4366a4d8fab650bcce54100";
|
||||
sha256 = "sha256-m6Tjch6A2ZPZ3/muvb/9sEAQUZfjnWqcwyhNVeqPS2c=";
|
||||
}
|
||||
+ "/theme/macchiato.ron");
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue