File tree Expand file tree Collapse file tree 3 files changed +18
-15
lines changed
Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 3434 --color=marker:#9ece6a,spinner:#9ece6a,header:#9ece6a"
3535 '' ;
3636 } ;
37- in {
37+ in
38+ {
3839 options . programs . fzf . tokyonight = lib . tn . mkTokyonightOpt "tokyonight fzf" ;
3940 config = lib . mkMerge [
4041 ( lib . mkIf cfg . enable {
41- programs = let shell_theme = themes . ${ cfg . style } ;
42- in {
43- # these are .zsh files, but the syntax is compatible
44- fish . interactiveShellInit = shell_theme ;
45- bash . initExtra = shell_theme ;
46- zsh . initExtra = shell_theme ;
47- } ;
42+ programs =
43+ let shell_theme = themes . ${ cfg . style } ;
44+ in {
45+ # these are .zsh files, but the syntax is compatible
46+ fish . interactiveShellInit = shell_theme ;
47+ bash . initExtra = shell_theme ;
48+ zsh . initExtra = shell_theme ;
49+ } ;
4850 } )
4951 ] ;
5052}
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ let cfg = config.programs.rofi.tokyonight;
33in {
44 options . programs . rofi . tokyonight = ( lib . tn . mkTokyonightOpt "tokyonight rofi" )
55 // {
6- variant = lib . mkOption {
7- type = lib . types . enum [ "default" "big1" "big2" ] ;
8- description =
9- "Which variant to use, see: https://github.com/w8ste/Tokyonight-rofi-theme" ;
10- default = "default" ;
11- } ;
6+ variant = lib . mkOption {
7+ type = lib . types . enum [ "default" "big1" "big2" ] ;
8+ description =
9+ "Which variant to use, see: https://github.com/w8ste/Tokyonight-rofi-theme" ;
10+ default = "default" ;
1211 } ;
12+ } ;
1313 config = lib . mkMerge [
1414 ( lib . mkIf cfg . enable {
1515 programs . rofi = {
Original file line number Diff line number Diff line change 1212
1313 defaultSources = import ../../.sources ;
1414 } ) ;
15- in lib . pipe dir [
15+ in
16+ lib . pipe dir [
1617 builtins . readDir
1718 builtins . attrNames
1819 ( lib . remove "default.nix" )
You can’t perform that action at this time.
0 commit comments