-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge: pull request #61 from
dixslyf/zellij
Add Zellij
- Loading branch information
Showing
6 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ _: | |
./xdg-terminal-exec | ||
./yuzu | ||
(importModule ./zathura { }) | ||
./zellij | ||
./zotero | ||
./zoxide | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
default_shell "fish" | ||
|
||
pane_frames false | ||
|
||
serialize_pane_viewport true | ||
|
||
theme "catppuccin-macchiato" | ||
|
||
default_layout "compact" | ||
|
||
disable_session_metadata true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ config | ||
, pkgs | ||
, lib | ||
, ... | ||
}: { | ||
options = | ||
let | ||
inherit (lib) mkEnableOption; | ||
in | ||
{ | ||
planet.zellij = { | ||
enable = mkEnableOption "planet zellij"; | ||
}; | ||
}; | ||
|
||
config = | ||
let | ||
cfg = config.planet.zellij; | ||
inherit (lib) mkIf; | ||
|
||
in | ||
mkIf cfg.enable { | ||
home.packages = with pkgs; [ | ||
zellij | ||
]; | ||
|
||
planet.persistence = { | ||
directories = [ | ||
".cache/zellij" | ||
]; | ||
}; | ||
|
||
xdg.configFile."zellij/config.kdl".source = ./config.kdl; | ||
}; | ||
} |