add wanikani script
This commit is contained in:
parent
8eaac613fc
commit
cffc18a485
2 changed files with 40 additions and 3 deletions
|
|
@ -3,7 +3,35 @@
|
|||
pkgs,
|
||||
stateVersion,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
let
|
||||
wanikani-script = builtins.path {
|
||||
path = ./wanikani.sh;
|
||||
};
|
||||
tmux-dracula = pkgs.tmuxPlugins.mkTmuxPlugin rec {
|
||||
pluginName = "dracula";
|
||||
version = "3.0.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "dracula";
|
||||
repo = "tmux";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-VY4PyaQRwTc6LWhPJg4inrQf5K8+bp0+eqRhR7+Iexk=";
|
||||
};
|
||||
installPhase = ''
|
||||
# i am adding my custom widget to the plugin here cp the wanikani.sh script to the plugin directory
|
||||
cp ${wanikani-script} $out/scripts/wanikani.sh
|
||||
'';
|
||||
meta = with pkgs.lib; {
|
||||
homepage = "https://draculatheme.com/tmux";
|
||||
description = "Feature packed Dracula theme for tmux!";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ ethancedwards8 ];
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home.username = "osbm";
|
||||
|
|
@ -64,9 +92,8 @@
|
|||
plugins = with pkgs; [
|
||||
tmuxPlugins.sensible
|
||||
tmuxPlugins.better-mouse-mode
|
||||
# tmuxPlugins.dracula
|
||||
{
|
||||
plugin = pkgs.tmuxPlugins.dracula;
|
||||
plugin = tmux-dracula;
|
||||
extraConfig = ''
|
||||
set -g @dracula-plugins "cpu-usage ram-usage gpu-usage battery time"
|
||||
set -g @dracula-show-left-icon hostname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue